🔸array object property
🚧 under construction
Last updated
🚧 under construction
Last updated
JS ⟩ object ⟩ built-in ⟩ Array ⟩ access ⟩ array object property
(value)
if you set / access the Array via anything other than nonnegative integers, you'll end up setting / accessing one of the array's object properties, which are stored differently from the list of element(s)
array object properties vs. array elements
thery are separate
array's traversal and mutation operations cannot be applied to these named properties.
setting / accessing via anything other than nonnegative integers:
will not set / retrieve an array element
will set / access one of the array's object properties.