Examples with "los WeakMap" and their translation 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.
En los WeakMap nativos, las referencias a los objetos clave son mantenidas "débilmente", lo que quiere decir que no impiden la recolección de basura en caso de que no haya otras referencias al objeto.
In native WeakMaps, references to key objects are held "weakly", which means that they do not prevent garbage collection in case there would be no other reference to the object.
Andere resultaten
Un caso de uso de los objetos WeakMap es almacenar datos privados para un objeto o esconder sus detalles de implementación.
One use case of WeakMap objects is to store private data for an object or to hide implementation details.
El elemento asociado con la llave específica en el objeto WeakMap.
The key of the element to remove from the WeakMap object.
Representa el prototipo para el nuevo constructor WeakMap.
Represents the prototype for the WeakMap constructor.
WeakMap::offsetSet - Actualiza el mapa con un nuevo par clave-valor
Updates the map with a new key-value pair.
WeakMap::key - Devuelve la clave actual de la iteración
WeakMap::key - Returns the current key under iteration
El elemento asociado con la llave específica en el objeto WeakMap.
The value of the element to add to the WeakMap object.
WeakMap::offsetUnset - Elimina una entrada del mapa
WeakMap::offsetUnset - Removes an entry from the map
El método get() devuelve un elemento específico del objeto WeakMap.
The key of the element to add to the WeakMap object.
El método get() devuelve un elemento específico del objeto WeakMap.
The delete() method removes the specified element from a WeakMap object.
Para más información y códigos de ejemplo, véase también "¿Por qué WeakMap?"
For more information and example code, see also "Why WeakMap?"
WeakMap::next - Avanza al siguiente elemento del mapa
WeakMap::offsetSet - Updates the map with a new key-value pair
El método get() devuelve un elemento específico del objeto WeakMap.
Sets the value for the key in the WeakMap object.