"this" is a special keyword in JavaScript. It is intended to be used inside of functions to point at the context of who and why the function was called.
Event listeners will trigger functions to run. When they do, the object that has the event listener will be the context for the function being called.
It is important to note that ES6 Arrow functions will change the meaning of the keyword "this".
It is also important to note that the "use strict" pragma can change the value of the keyword "this".
Code GIST: gist.github.co...
6 сен 2024