---
title: "Discussion on \"Removing repetitions from Array using the class Set\" | Hashnode"
description: "Discussion on \"Removing repetitions from Array using the class Set\". I was watching a course on Udemy and I figure out a very cool way of removing eventual repetitions of elements of an array.\nIt is the combination of the class Set with the Spread Operator.\nSet\nAllows storage of unique values of any type.\nExample of a..."
url: "https://hashnode.com/posts/removing-repetitions-from-array-using-the-class-set/61df6eaafdb5256450d333f7"
---

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

Discussion

# [Removing repetitions from Array using the class Set](https://blog.gabrielrufino.com/removing-repetitions-from-array-using-the-class-set?utm_source=hashnode&utm_medium=feed)

I was watching a course on Udemy and I figure out a very cool way of removing eventual repetitions of elements of an array. It is the combination of the class Set with the Spread Operator. Set Allows storage of unique values of any type. Example of a...

Jan 13, 2022 · 1 min read · blog.gabrielrufino.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#data-structures](https://hashnode.com/tag/data-structures)

## Written by

[Gabriel Rufino](https://hashnode.com/@gabrielrufino)

@gabrielrufino · Pernambuco, BR

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

Software Developer | Back-end

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
