Arrays
Array index
Array indices are canonical nonnegative integer property keys below 2^32−1. The first position is zero. Bracket access reads a property; absent properties normally yield undefined. Non-index properties do not extend length.
Formal Syntax & Structure
javascript syntaxjavascript
items[index]Working Example
Example Snippetjavascript
const a=[7]; a[2]=9;console.log(a[0],a.length);