---
title: "Discussion on \"Set and Map in Javascript.\" | Hashnode"
description: "Discussion on \"Set and Map in Javascript.\". Set\nCollection of elements that store unique elements.\nA set of special type collections- a set of values, where each value may occur only once.\nvar set1 = new Set([10, 20, 30, 30, 40, 40]);\n//it contains [10, 20, 30 ,40]\n\nTo add more values to set\nv..."
url: "https://hashnode.com/posts/set-and-map-in-javascript/63b53baab173166cb2d2bd02"
---

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

Discussion

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

Set Collection of elements that store unique elements. A set of special type collections- a set of values, where each value may occur only once. var set1 = new Set(\[10, 20, 30, 30, 40, 40\]); //it contains \[10, 20, 30 ,40\] To add more values to set v...

Jan 4, 2023 · 1 min read · vikas360.hashnode.dev  
Read the article

-   [#set-and-map](https://hashnode.com/tag/set-and-map)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Vikas Kumar](https://hashnode.com/@vikas172)

@vikas172 · Noida, India

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

React & Node.js Developer | 📱 Freelance Developer 💻 | Building and Sharing Web Solutions

As a Frontend Web Developer, I bring a unique blend of technical expertise and creative vision to design and implement robust web applications. My proficiency in core web technologies including HTML, CSS, and JavaScript, combined with hands-on experience in React and NodeJs, allows me to deliver high-performance, responsive, and intuitive user interfaces. I am also dedicated to continuous learning and community engagement, regularly publishing technical blogs to share insights and foster collaborative growth.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
