Skip to content
engineering workbench.by StudyPort Academy
All glossary terms

GLOSSARY · A WORD, UNPACKED

array

an ordered JavaScript collection whose items are accessed by positions starting at zero.

A little more detail

Arrays are objects with a length and methods for visiting or transforming their elements. length counts positions, not the largest valid index; a non-empty array’s final index is length minus one. Copying an array reference shares the array, and a shallow array copy can still share the objects inside it.

See it in practice

These lessons pair the idea with examples you can change and run.