Vertaling van "WeakMaps" in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Les implémentations natives (y compris celle des WeakMaps) permettent d'obtenir des performances logarithmiques voire constantes.
Native implementations of them (including WeakMaps) can have look-up performance that is approximately logarithmic to constant time.
L'exemple qui suit est tiré du billet de blog de Nick Fitzgerald « Masquer des détails d'implémentation avec les WeakMaps ECMAScript 6 ».
The following example is from Nick Fitzgerald blog post "Hiding Implementation Details with ECMAScript 6 WeakMaps".
Les Maps et WeakMaps permettent de gérer plus simplement une liaison « privée » entre des données et un objet.
ECMAScript Harmony WeakMaps a été ajouté en tant que prototype.
ECMAScript 2015 WeakMaps have been added as a prototype implementation.
Andere resultaten
Définit la valeur associée à la clé dans l'objet WeakMap.
Sets the value for the key in the Map object.
Cette propriété représente le prototype du constructeur WeakMap.
Represents the prototype for the WeakMap constructor.
Les clés d'une WeakMap sont référencées faiblement.
The key in a WeakMap is held weakly.
Les clés des objets WeakMap sont nécessairement du type Object.
Keys of WeakMaps are of the type Object only.
WeakMap::offsetGet - Retourne la valeur pointée par un certain objet
WeakMap::offsetGet - Returns the value pointed to by a certain object
La méthode delete() retire un élément donné de l'objet WeakMap.
The delete() method removes the specified element from a WeakMap object.
WeakMap::offsetExists - Vérifie si un objet est dans le map
WeakMap::offsetExists - Checks whether a certain object is in the map
Un cas d'utilisation des objets WeakMap est le stockage de données privées d'un objet ou pour cacher certains détails d'implémentation.
One use case of WeakMap objects is to store private data for an object or to hide implementation details.
Il correspond à la valeur de l'élément qu'on souhaite ajouter à l'objet WeakMap.
Required. The value of the element to add to the WeakMap object.