---
title: "Discussion on \"What is  Set  in JavaScript?\" | Hashnode"
description: "Discussion on \"What is  Set  in JavaScript?\". Set\nThe Set is a collection is dissimilar elements and we can say, it stores the unique element. Set is an object in JavaScript.\nWe can create a set by just writing Set(). It will create a new set.\nOr we can create a non-empty set like ---> const set..."
url: "https://hashnode.com/posts/what-is-set-in-javascript/64147addba9143b5a4c3dd22"
---

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

Discussion

# [What is Set in JavaScript?](https://ankitsinghmehradev.hashnode.com/what-is-set-in-javascript?utm_source=hashnode&utm_medium=feed)

Set The Set is a collection is dissimilar elements and we can say, it stores the unique element. Set is an object in JavaScript. We can create a set by just writing Set(). It will create a new set. Or we can create a non-empty set like ---> const set...

Mar 17, 2023 · 4 min read · ankitsinghmehradev.hashnode.com  
Updated Mar 20, 2023  
Read the article

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

## Written by

[itzAnkitCodes01](https://hashnode.com/@itzAnkitCodes01)

@itzAnkitCodes01 · India

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

Tech - FrontEnd / Full-Stack Developer, Student

Hey , I am Ankit , a passionated FrontEnd / FullStack Developer having expertise in building responsive and user-friendly websites .

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
