How does the new Set()?

Can't understand how the new method Set(). As it creates uniqueness. For example I have an array let a = ['Q', 'W', 'E', 'W', 'R', 'R'] how to use new Set() remove repeated letters. To give ['Q', 'W', 'E', 'R']. Using filter() can do, but the new Set() not yet dismantled.
April 19th 20 at 12:20
1 answer
April 19th 20 at 12:22
@Caesar50 at least give an example how it works. Zero sense, from such councils. Either do not understand or difficult to explain. If I came here, so did not understand the Doc. Hmm... - ivah18 commented on April 19th 20 at 12:25

Find more questions by tags JavaScript