# Arrays

A JavaScript array works like a C# List&lt;T>. It grows and shrinks with push, pop, shift and unshift, and has length, includes and indexOf. Its filter, map, find and reduce methods do the jobs of LINQ's Where, Select, First and Sum.

![Cheat sheet: Arrays](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/7d2fc11aaf64461cbd05f5516000dc69.webp)

- Category: JavaScript
- Level: Apprentice
- Tags: Array (javascript), filter() (javascript), JavaScript, map() (javascript), push(), reduce() (javascript), sort() (javascript)
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/csharp-vs-javascript-arrays-cheat-sheet
