---
title: "Discussion on \"Maps in Javascript\" | Hashnode"
description: "Discussion on \"Maps in Javascript\". Introduction\nMap is a collection of elements where each element stores a key-value pair and remembers the original order of keys.\nMap is an object that can hold objects and primitive values as either keys or values.\nSyntax :\nconst map1 = new Map()\n\nm..."
url: "https://hashnode.com/posts/maps-in-javascript/641563277213745e74aa9061"
---

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

Discussion

# [Maps in Javascript](https://javascriptsetsandmaps.dev/maps-in-javascript?utm_source=hashnode&utm_medium=feed)

Introduction Map is a collection of elements where each element stores a key-value pair and remembers the original order of keys. Map is an object that can hold objects and primitive values as either keys or values. Syntax : const map1 = new Map() m...

Mar 18, 2023 · 5 min read · javascriptsetsandmaps.dev  
Read the article

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

## Written by

[Utkarsh Saxena](https://hashnode.com/@utkarsh321)

@utkarsh321

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

Learning about javascript and aspiring mern developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
