Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript this Inside Arrow Function

const greet = () => {
    console.log(this);
}
greet(); // Window {...}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #Inside #Arrow #Function
ADD COMMENT
Topic
Name
9+5 =