Lab49 interview question

Discuss how the this scope works in JavaScript.

Interview Answer

Anonymous

Dec 8, 2014

When inside objects or DOM nodes it refers to the current instance. Otherwise, it refers to the global scope.

1