Skip to content

Most items $2 · Packs priced separately

pocketshelf

JavaScript Array Methods Cheat Sheet

javascript-array-methods-cheat-sheet.pdfShowing 24 of 95 lines
// at
const last = [1, 2, 3].at(-1); // 3

// concat
const all = [1, 2].concat([3], [4, 5]);

// every
const allPositive = [1, 2, 3].every((n) => n > 0);

// fill
const zeros = new Array(3).fill(0); // [0, 0, 0]

// filter
const evens = [1, 2, 3, 4].filter((n) => n % 2 === 0);

// find
const user = users.find((u) => u.id === 7);

// findIndex
const i = ["a", "b"].findIndex((x) => x === "b"); // 1

// findLast
const lastBig = [5, 12, 8, 130].findLast((n) => n > 10);

What's inside

  • JavaScript Array Methods Cheat Sheet, preview page 1 with code examples in two columnsPage 1
  • JavaScript Array Methods Cheat Sheet, preview page 2 with code examples in two columnsPage 2
  • JavaScript Array Methods Cheat Sheet, preview page 3 with code examples in two columnsPage 3
Format
PDF, Markdown
Contents
32 sections · 3 pages
Version
1.0 · Updated 3 Oct 2026
Licence
Commercial What this means
Checked
Checked before it ships
Files in your download
  • javascript-array-methods-cheat-sheet.pdfPDF · 23 KB
  • javascript-array-methods-cheat-sheet.mdMarkdown · 3 KB
  • LICENSE.txtadded to every download

About this item

A compact, printable reference for array methods in JavaScript. Each of the 32 entries has a one-line explanation and a small example you can paste into your editor. The PDF uses a two-column A4 layout designed to sit next to your keyboard, and the same content ships as Markdown so you can search it or drop it into your notes. Examples target modern JavaScript (ES2023). Commercial license included.

  • JavaScript
  • ES2023
  • Reference
  • Arrays
  • Cheat sheet

You might also grab