JavaScript Arrays

1 · Martin Capodici · Feb. 15, 2019, midnight
Is one of anything ever enough? If not then you might need an array. Arrays are how you represent lists in a JavaScript program. Lists appear everywhere in the apps we build: search results, contact lists, Spotify playlists, tweets and so on. This makes arrays one of the most taken for granted tools that programmers use every day. In JavaScript, arrays can have zero or more items, and each item can be any object or value, such as a string, a number, another array or an object....