invocation context
browser ⟩ event ⟩ handler ⟩ invocation context
invocation context:
this refers to the object on which the handler was registered.
this === event.currentTarget unless the handler is an arrow function, or its this is bound to something else.
- replit ⟩ - "this" in event handler ( - this=== event.currentTarget )
 
Last updated
Was this helpful?