DEV Community

Discussion on: Take 'this' Quiz, Understand How 'this' Works in JavaScript

Collapse
 
leewhite98 profile image
LeeWhite98

1) 'this' is an object created for every Execution Context that is created (on program startup and on every function invocation).

I think it's also important to mention that arrow functions don't get own this keyword - they can use this keyword of their closest regular function parent