# 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.

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

Level: Apprentice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/apprentice)

Updated: September 27, 2026

## In other subjects

- [Array Index in C#](https://www.ask-codey.com/glossary/array-index-c-sharp)
- [Array Index in Java](https://www.ask-codey.com/glossary/array-index)

Source: https://www.ask-codey.com/glossary/array-index-javascript
