Previous Page : JavaScript Number + Properties & Methods

JavaScript Arrays are a collection of data items. They allow you to store multiple values in a single variable. You can store different types of data in an array, like strings, numbers, objects, and even other arrays.

JavaScript Arrays are a data structure that can store multiple values in a single variable. They are written as a list of values separated by commas and enclosed in square brackets ([]).

For example:

let fruits = ["apple", "banana", "cherry"];

Array Properties:

Array Methods: