JS ⟩ concepts ⟩ context
(this) object to which a function belongs.
key concepts
this - property of an execution context.
context vs. scope
different contexts
global context
class body context - class body has its own this context.
scope:visibility of variable.
context:(this) object to which a function refers.
Kevin Chisholm ⟩ What is the Difference Between Scope and Context in JavaScript?arrow-up-right
thisarrow-up-right ⟩ globalarrow-up-right / function / eval context
Last updated 3 years ago