---
title: "Discussion on \"Map and Set in JavaScript 🔑\" | Hashnode"
description: "Discussion on \"Map and Set in JavaScript 🔑\". Introduction\nIn JavaScript, we often use objects and arrays to store data.But sometimes, they come with limitations like:\n\nObjects only allow string/symbol keys\n\nArrays allow duplicate values\n\nManagin"
url: "https://hashnode.com/posts/map-and-set-in-javascript/69ca62819fffa747400c3ac2"
---

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

Discussion

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

Introduction In JavaScript, we often use objects and arrays to store data.But sometimes, they come with limitations like: Objects only allow string/symbol keys Arrays allow duplicate values Managin

Mar 30 · 3 min read · techwithshruti.hashnode.dev  
Read the article

## Written by

[Shrutika Wale](https://hashnode.com/@shrutiii6)

@shrutiii6

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

....

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
