In JavaScript, an associative array is known as an object that holds key-value mappings.
En JavaScript, un tableau associatif est connu sous le nom d'objet qui contient des associations clé-valeur.
Introduced in JavaScript 1.7, array comprehensions provide a useful shortcut for constructing a new array based on the contents of another.
À partir de JavaScript 1.7, les définitions de tableaux par compréhension permettent de construire, simplement, un tableau se basant sur le contenu d'un premier tableau.
Since an array's length can change at any time, and data can be stored at non-contiguous locations in the array, JavaScript arrays are not guaranteed to be dense; this depends on how the programmer chooses to use them.
Puisque la dimension d'un tableau peut augmenter ou diminuer à tout moment, et que les éléments du tableau peuvent être stockés à des emplacements non contigus, les tableaux ne sont pas garantis d'être compacts.
There is not really associative array in JavaScript.
Il n'y a pas vraiment de tableau associatif en JavaScript.
How do I remove a particular element from an array in JavaScript?
The method returns an array in JavaScript, and can be called on the document element or other nodes to search only their subtree.
Cette méthode renvoie un tableau en JavaScript, et peut également être appelée sur l'élément document ou sur d'autres nœuds pour chercher uniquement parmi leurs descendants dans l'arbre.
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.