A controller is a JavaScript object containing attributes/properties and functions.
Un dispositif de commande est un objet JavaScript contenant des attributs / propriétés et fonctions.
Checking if a key exists in a JavaScript object?
Vérifier si une clé existe dans un objet JavaScript?
This is not the <script> tag, but a JavaScript object that was never standardized.
Il ne s'agit pas de la balise <script> mais d'un objet JavaScript qui n'avait jamais été standardisé.
Attributes of a JavaScript object are also keys
Les attributs d'un objet JavaScript sont aussi des clés
Finally, the template argument is given a JavaScript object that will be used as the starting point, in the case of a new document.
Enfin, l'argument template reçoit un objet JavaScript qui sera utilisé comme point de départ dans le cas d'un nouveau document.
Each resolution is a JavaScript object with the following attributes
Chaque résolution se présente sous la forme d'un objet JavaScript présentant les attributs suivants
This is just a JavaScript object that contains a name property identifying the error and a message property containing more information.
Il s'agit simplement d'un objet JavaScript contenant une propriété name qui identifie l'erreur et une propriété message offrant plus de détails.
For instance, a JavaScript object has a reference to its prototype (implicit reference) and to its properties values (explicit reference).
Ainsi, un objet JavaScript référencera son prototype (référence implicite) et ses propriétés (référence explicite).
To send more data in one setting, I encapsulate them in a JavaScript object, which gives this code{username: username, message: message}.
Pour envoyer plusieurs données dans un seul paramètre, je les encapsule dans un objet JavaScript, d'où le code{pseudo: socket.pseudo, message: message}
If your directive needs multiple values, you can also pass in a JavaScript object literal.
Objets littéraux Si votre directive a besoin de plusieurs valeurs, vous pouvez également passer un objet JavaScript.
A memory leak in IE occurs any time a circular reference is formed between a JavaScript object and a native object.
Une fuite mémoire dans IE se produit chaque fois qu'une référence circulaire est formée entre un objet JavaScript et un objet natif.
Here we're creating a JavaScript object, then checking what it contains, then converting it to a JSON string using stringify() - saving the return value in a new variable - then checking it again.
On commence par créer un objet JavaScript puis on vérifie son contenu avant de le convertir en chaîne de caractères JSON avec stringify() - en sauvegardant au passage le résultat dans une nouvelle variable avant d'effectuer à nouveau une vérification du contenu.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.