Examples with "Array, Array-like objects" and their translation in French
We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
The for... of statement creates a loop iterating over iterable objects, including: built-in String, Array, Array-like objects (e.g., arguments or NodeList), TypedArray, Map, Set, and user-defined iterables.
L'instruction for... of permet de créer une boucle Array qui parcourt un objet itérable (ce qui inclut les objets Array, Map, Set, String, TypedArray, l'objet arguments, etc.)
Other results
Summary The apply() method calls a function with a given this value and arguments provided as an array (or an array-like object).
La méthode apply() appelle une fonction en lui passant une valeur this et des arguments sous forme d'un tableau (ou d'un objet semblable à un tableau).
The arguments of a function are maintained in an array-like object.
For information on using arrays with regular expressions, see Regular Expressions. Working with array-like objects
Pour plus d'informations sur l'utilisation des tableaux et des expressions rationnelles, voir la page Expressions rationnelles.
Deprecated, Function, JavaScript, Property, arguments The function.arguments property refers to an an array-like object corresponding to the arguments passed to a function.
Déprécié, Function, JavaScript, Propriété, Reference, arguments La propriété function.arguments fait référence à un objet dont la structure est semblable à celle d'un tableau dont les éléments correspondent aux arguments passés à une fonction.
The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list.
L'interface HTMLCollection est constituée d'une collection générique (à la manière d'un tableau similaire à arguments) d'éléments (dans l'ordre du document) et offre des méthodes et des propriétés pour sélectionner ces éléments dans la liste.
Alternatively, the class is an array object, so you can access elements stored within it with a convenient array-like interface.
Alternativement, la classe est un tableau, donc vous pouvez avoir accès aux éléments stockés avec une interface semblable au tableau.
slice method can also be called to convert Array-like objects/ collections to a new Array. You just bind the method to the object.
Methods BigInt64Array.from() Creates a new BigInt64Array from an array-like or iterable object.
Pour Cette méthode permet de créer un nouveau tableau typé BigInt64Array à partir d'un itérable ou d'un objet semblable à un tableau.
Or, using for... of (ES2015) and Object.entries (ES2017), you can get an array of the specified object values and iterate over the array like this
Ou encore, on peut utiliser for... of (ES2015) et Object.entries (ES2017) pour récupérer un tableau contenant les clés et les valeurs d'un objet qu'on pourra ensuite parcourir
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.