---
title: "Discussion on \"Map and Set in JavaScript\" | Hashnode"
description: "Discussion on \"Map and Set in JavaScript\". What Map is\n1. The Problem with Traditional Objects\nWe’ve used Objects as key-value stores forever. But Objects were designed to be records, not high-frequency lookup tables.\n\nKey Restrictions: Object"
url: "https://hashnode.com/posts/map-and-set-in-javascript/69c52bd610e664c5dac7e382"
---

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

Discussion

# [Map and Set in JavaScript](https://blogs.prakashjha.com/map-and-set-in-javascript?utm_source=hashnode&utm_medium=feed)

What Map is 1. The Problem with Traditional Objects We’ve used Objects as key-value stores forever. But Objects were designed to be records, not high-frequency lookup tables. Key Restrictions: Object

Mar 26 · 2 min read · blogs.prakashjha.com  
Read the article

## Written by

[Prakash Jha](https://hashnode.com/@PacMax)

@PacMax

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
