About 333,000 results
Open links in new tab
  1. Map - JavaScript - MDN

    Oct 17, 2025 · The Map object holds key-value pairs and remembers the original insertion order of the keys. Any value (both objects and primitive values) may be used as either a key or a value.

  2. JavaScript Maps - W3Schools

    The Map Object A Map object holds key-value pairs where the keys can be any datatype. A Map also remembers the original insertion order of the keys.

  3. javascript - 'map' function for objects (instead of arrays ...

    Feb 11, 2013 · The purpose of the function is to take an object and modify the original contents of the object using a method available to all objects (objects and arrays alike) without returning …

  4. The Essential Guide to JavaScript Map: How To Use Maps ...

    This tutorial introduces you to the JavaScript Map object and shows you how to manipulate maps effectively.

  5. Map in JS - GeeksforGeeks

    Sep 23, 2025 · A JavaScript Map holds key-value pairs and similar to Hash Map or Dictionary in other languages. Preserves the original insertion order. Supports any type, including objects …

  6. Javascript Map Object - Javascript Cheatsheet

    A Map is a built in object that holds key-value pairs. It can hold a key of any data type unlike in plain objects. It maintains the insertion order and provides helpers to manage key-value pairs.

  7. How to Use the JavaScript Map and Set Objects – Explained ...

    Feb 21, 2024 · Map and Set are two JavaScript data structures you can use to store a collection of values, similar to Objects and Arrays. They are specialized data structures that can help you …