Difficile
Quelle est la différence entre __proto__
et prototype
?
Auteur: Jean-marie CléryStatut : PubliéeQuestion passée 2339 fois
Modifier
3
Évaluations de la communauté
Kind Jean Sammet
31/03/2025
When creating an object instance, the __proto__ property will be added to this instance and will itself contain an instance of the constructible function’s prototype.
Also correct. This explains the prototype chain: the instance’s __proto__ points to the constructor’s prototype
10
Écrire un code Javascript qui affiche les indices d'un tableau.7
Inverser une chaine de caractère en Javascript7
Que va afficher ce code?5
Quelle sera la première chose que le code suivant affichera?9
Laquelle des égalités suivantes est vraie ? 0 == '', 'f' + 1 == 'f1'7
Laquelle des méthodes suivantes est la **plus optimisée** pour créer un objet littéral?5
Comment appeler une fonction à l'intérieur d'une fonction en Javascript