Frage im Vorstellungsgespräch bei Lab49

Discuss how the this scope works in JavaScript.

Antwort im Vorstellungsgespräch

Anonym

8. Dez. 2014

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

1