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.
The method returns an array in JavaScript, and can be called on the document element or other nodes to search only their subtree.
Comment puis-je supprimer un élément particulier d'un tableau en JavaScript?
Correction d'un bug où ayant des éléments avec des noms représentant des propriétés de tableau en JavaScript (longueur, constructeur, prototype) se traduirait par des messages d'erreur ne montrant pas pour cet élément particulier dans la validation côté client.
Fixed a bug where having elements with names representing array properties in JavaScript (length, constructor, prototype) would result in error messages not showing for that particular element in client-side validation.
Il n'y a pas vraiment de tableau associatif en JavaScript.
Un objet est défini par un littéral selon la syntaxe d'un tableau comme en JavaScript.
An object is defined by a literal according to the syntax of an array as JavaScript.
Deuxièmement, comme les tableaux JavaScript commencent en 0, et que les calculs parents/fils utilisent un système qui démarre en 1, il y a quelques calculs bizarres pour compenser cette différence.
Also, because JavaScript arrays start at 0, and the parent/child calculations use a system that starts at 1, there are a few strange calculations to compensate.
Comment vérifier si un tableau inclut un objet en JavaScript?
Comment puis-je créer un tableau à deux dimensions en JavaScript?
How can I create a two dimensional array in JavaScript?
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.