Exemples avec "Array, Array-like objects" et leurs traductions en français
Nous n’avons pas trouvé cette entrée. Affichage de résultats approximatifs. Vérifiez l’orthographe ou proposez d’ajouter ce terme au dictionnaire.
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.)
Autres résultats
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
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.