addEventListener, arrow functions, and `this` [duplicate]
What is this? this is a special keyword in Javascript that refers to the executing environment of the function: If you execute a function in the global scope, this will be bound to the window If you pass the function to a callback for an event handler, this will be bound to the DOM element … Read more