Array Length

The fixed number of elements an array can hold.

What is Array Length in JavaScript?

Array Length — The fixed number of elements an array can hold.

const stops = ["Oak", "Pine", "Lake"];
const secondStop = stops[1];
const stopCount = stops.length;

Level: Apprentice · More JavaScript terms at this level

Updated

In other subjects