About 518,000 results
Open links in new tab
  1. 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.

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

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

  5. 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 …

  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 .map () in JavaScript – Iterate and Transform Arrays Easily

    Nov 6, 2025 · Learn how to use the .map () method in JavaScript to iterate over arrays and return transformed results. Includes syntax, examples, and best practices.

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

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

  10. How to use .map () to iterate through array items - Dev Handbook

    Instead of manually iterating over the array using a loop, we can use the built-in Array.map () method. This article will cover map () syntax and how to use map () over an array of objects.