Question d’entretien chez Lab49

Discuss how the this scope works in JavaScript.

Réponse à la question d'entretien

Utilisateur anonyme

8 déc. 2014

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

1