You will learn about JavaScript arrays -objects used to store multiple values in a single variable.
Vous allez découvrir les tableaux JavaScript -objets utilisés pour stocker plusieurs valeurs dans une seule variable.
Programmers use JavaScript's array object to contain a collection of data items.
Les programmeurs utilisent l'objet array de JavaScript pour contenir une collection d'éléments de données.
Dreamweaver provides code hints for basic JavaScript objects like arrays, dates, numbers, and strings.
Dreamweaver propose des conseils de code pour des objets JavaScript de base tels que tableaux, dates, chiffres et chaînes.
A JSON document is a file containing a single JavaScript object or array, which in turn contains any number of other objects, arrays, strings, numbers, booleans, or null values.
Un document JSON est un fichier contenant un seul objet JavaScript ou un tableau, pouvant lui-même contenir d'autres objets, des tableaux, des chaînes de caractères, des nombres, des booléens ou la valeur null.
For example, indexOf is a method for both the String and Array objects in JavaScript.
Par exemple, indexOf est une méthode à la fois des objets String et Array en JavaScript.
Array object in JavaScript, reference and interactive test
Some aspects of library design that are specific to JavaScript include dealing with JavaScript's type coercions, working with JavaScript arrays, and using "options objects" as a way to provide API's with potentially large numbers of optional arguments.
Certains des aspects du design qui sont spécifiques à JavaScript, dont la gestion de la coercition de type de JavaScript, travailler avec les tableaux JavaScript, et utiliser des "objets options" comme moyen de fournir des APIs ayant potentiellement un nombre important d'arguments optionnels.
Since JavaScript elements are saved as standard object properties, it is not advisable to iterate through JavaScript arrays using for... in loops because normal elements and all enumerable properties will be listed. Array methods
Les éléments d'un tableau étant stockés comme des propriétés d'un tableau, il n'est pas conseillé d'utiliser de boucle for... in pour traiter les tableaux car on traitera les éléments du tableau ainsi que toutes les propriétés énumérables.
Since JavaScript elements are saved as standard object properties, it is not advisable to iterate through JavaScript arrays using for... in loops because normal elements and all enumerable properties will be listed. Array methods
Étant donné que les éléments des tableaux sont stockés comme des propriétés classiques, il n'est pas conseillé d'utiliser des boucles Instructions/for... in pour parcourir les tableaux car cela listerait également les propriétés énumérables (en plus des éléments).
The Array object was first implemented in JavaScript version 1.1 and has been augmented in version 1.3, that is compatible with the ECMA-262 standard as is the version 1.5 which is described here.
L'objet Array existe depuis la version 1.1 de JavaScript et a été augmenté dans la version 1.3, compatible avec le standard ECMA-262 comme la version 1.5 qui est décrite ici.
In JavaScript, an array is an object that has special properties.
En JavaScript, un tableau est un objet disposant de propriétés particulières.
In javascript, we'll represent this with an array of objects.
En JavaScript, nous utiliserons un tableau d'objets.
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.