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

    Dec 8, 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 Array map () Method - W3Schools

    Description map() creates a new array from calling a function for every array element. map() does not execute the function for empty elements. map() does not change the original array.

  3. JavaScript Array map () Method

    This tutorial shows you how to use the JavaScript Array map () method to transform elements in an array based on a provided function.

  4. 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 and …

  5. Array.prototype.map () - JavaScript | MDN

    Jul 20, 2025 · The map() method of Array instances creates a new array populated with the results of calling a provided function on every element in the calling array.

  6. JavaScript Map Method – Syntax and Code Examples

    Feb 15, 2024 · JavaScript's map method, introduced in ECMAScript 5, is a fundamental tool for array manipulation and transformation. This method is versatile and simple, and has become a staple in …

  7. JavaScript Maps - W3Schools

    A JavaScript Map is an object that can store collections of key-value pairs, similar to a dictionary in other programming languages. Maps differ from standard objects in that keys can be of any data type.

  8. 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.

  9. A Guide to the JavaScript map () Method with Practical Examples

    Oct 7, 2025 · Learn how to use the JavaScript map () method to transform arrays. This guide covers the syntax, practical examples, and its key differences from other methods like forEach ().

  10. JavaScript Array map () Method - GeeksforGeeks

    Jul 11, 2025 · The map () method is an ES5 feature that creates a new array by applying a function to each element of the original array. It skips empty elements and does not modify the original array.