---
title: "Discussion on \"Map in JavaScript\" | Hashnode"
description: "Discussion on \"Map in JavaScript\". In JavaScript, Map is a data structure that allows us to store key-value pairs and both key and value can be of any data type, like objects, functions..."
url: "https://hashnode.com/posts/map-in-javascript/64116a3213cf290dcfc34f66"
---

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

Discussion

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

In JavaScript, Map is a data structure that allows us to store key-value pairs and both key and value can be of any data type, like objects, functions...

Mar 15, 2023 · 2 min read · vaibhavblogs.hashnode.dev  
Read the article

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

## Written by

[Vaibhav Prajapat](https://hashnode.com/@vaibhav7725)

@vaibhav7725 · Rajasthan | India

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

MERN Stack Developer | Passionate about creating modern and responsive web apps using MongoDB, Express.js, React.js, and Node.js

## Responses 2

Markdown supported · ⌘↵ to post

[Naina Birla](https://hashnode.com/@nainabirla24)

[Mar 15, 2023](https://hashnode.com/posts/map-in-javascript/64116a3213cf290dcfc34f66/comment/64120e1074823780b17ff4f8)

very helpful👍

[Vivek Parde](https://hashnode.com/@vivekparde2023)

[Mar 15, 2023](https://hashnode.com/posts/map-in-javascript/64116a3213cf290dcfc34f66/comment/64118f6023ae346d760415e3)

thanks for sharing
