# Array

*noun*

say it: **“uh-RAY”** **/əˈreɪ/**

A JavaScript list of values that can grow and shrink, read by position starting at 0.

## 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;
```

## In a sentence

- “The cart is an **array**, and push adds each new item to it.”

Level: Apprentice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=2)

Updated: November 9, 2026

## In other subjects

- [Array in C#](https://www.ask-codey.com/glossary/array-c-sharp)
- [Array in Data Structures](https://www.ask-codey.com/glossary/array-data-structures)
- [Array in Java](https://www.ask-codey.com/glossary/array)
- [Array in PowerShell](https://www.ask-codey.com/glossary/array-powershell)
- [Array in Unix](https://www.ask-codey.com/glossary/array-unix)

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