๐ธelement index
JS โฉ object โฉ built-in โฉ Array โฉ element โฉ index
(String)
array elements are numbered, starting from 0, this number is called the element's index, an index must be non-negtive integersโ
JavaScript arrays have no notion of an โout of boundsโ error. When you try to query a nonexistent property of any object, you donโt get an error; you simply get undefined.
โ element index is accessed throught bracket notation [].
Guides โฉ Arrays โฉ Accessing and modifying array items โญ๏ธ
Last updated
Was this helpful?