browser ⟩ event ⟩ handler ⟩ invocation context
invocation context: this refers to the object on which the handler was registered.
this
this === event.currentTargetarrow-up-right unless the handler is an arrow function, or its this is bound to something else.
replit ⟩
event.currentTargetarrow-up-right
"this" in event handlerarrow-up-right (this === event.currentTargetarrow-up-right )
Last updated 3 years ago