Refresh knowledge about arrays and how they work.

What’s an array?

An array is a data structure in JavaScript that’s similar to a list used for storing shopping items. The list of items in an array is enclosed in a square bracket ([]).

Get hands-on with 1200+ tech skills courses.