Array Index

A zero-based number that identifies an element's position in an array.

What is Array Index in JavaScript?

Array Index — A zero-based number that identifies an element's position in an array.

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