---
title: "Discussion on \".map() method in JavaScript\" | Hashnode"
description: "Discussion on \".map() method in JavaScript\". Introduction\nSometimes all we want to do is run a procedure on an array and alter each element in the array in the same way.\nWe only want to update the array's elements to obtain an array of modified elements; we don't want to add or remove any membe..."
url: "https://hashnode.com/posts/map-method-in-javascript/64073f1ff944bc4d86caf240"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [.map() method in JavaScript](https://swetaagarwalla.hashnode.dev/map-method-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction Sometimes all we want to do is run a procedure on an array and alter each element in the array in the same way. We only want to update the array's elements to obtain an array of modified elements; we don't want to add or remove any membe...

Mar 7, 2023 · 3 min read · swetaagarwalla.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#map-in-js](https://hashnode.com/tag/map-in-js)
-   [#map](https://hashnode.com/tag/map)

## Written by

[Sweta Agarwalla](https://hashnode.com/@sweta1331)

@sweta1331 · Baripada, Odisha

  
[View profile](https://hashnode.com/@sweta1331)

Frontend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
