# Array

A fixed-size, indexed collection whose elements all have the same type.

## What is **Array** in JavaScript?

**Array** — A fixed-size, indexed collection whose elements all have the same type.

```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 in C#](https://www.ask-codey.com/glossary/array-c-sharp)
- [Array in Java](https://www.ask-codey.com/glossary/array)

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