Photo by ika ika on Unsplash

  • Map and WeakMap

    Map and WeakMap associate keys with values when object identity or garbage collection behavior matters more than string property names. This page compares APIs, iteration, and typical use cases next to plain objects and Set.

    · Languages / JavaScript Core / Collections

  • Typed arrays and ArrayBuffer

    Typed arrays view raw bytes in an ArrayBuffer as integers or floats—used by WebGL, audio, binary protocols, and WASM interop. This page explains buffers, views, endianness, and how they differ from normal JavaScript arrays.

    · Languages / JavaScript Core / Collections

  • Set in JavaScript

    A Set stores unique values using SameValueZero equality—handy for deduplication, membership tests, and set algebra. This page covers construction, iteration, and the native union/intersection helpers added in ES2025.

    · Languages / JavaScript Core / Collections

  • Arrays in JavaScript

    Arrays are ordered, indexable lists and the default collection in most JavaScript code. This cheat sheet groups creation, mutation, search, and higher-order methods—including ES2023 non-mutating updates—so you can scan the API without rereading a tutorial.

    · Languages / JavaScript Core / Collections

Search articles

Type a word to search published articles.

Open the search page