What Are JavaScript Arrays?

Johnny Simpson
JavaScript in Plain English
5 min readFeb 8, 2023

--

Arrays in JavaScript are a simple, one dimensional way to store simple sets of data. Arrays are non unique, which means they can store duplicates (unlike sets). They also follow typical prototype inheritance, as with other Javascript types. That just means that all arrays inherit a certain set of specific methods, like length, some(), every(), concat(), any many more.

Making a Javascript Array

--

--