0

Is there a set (unique-value) container in JS something like std::set in C++?

I need something to put many different values in and at the end obtain a unique list of those values.

Valentin H
  • 7,240
  • 12
  • 61
  • 111
  • 2
    what kind of values? [heres a SO on removing uniques from an array](http://stackoverflow.com/questions/1960473/unique-values-in-an-array) jquery also [has a method](https://api.jquery.com/jQuery.unique/) to remove duplicates from html collections. there is no inbuilt unique collection, you'd nee dto filter it – atmd Jun 12 '15 at 14:21
  • 1
    There's one in ECMAScript 6. – Evan Knowles Jun 12 '15 at 14:22
  • Oh I see, there is an answer already. Thanks! – Valentin H Jun 12 '15 at 20:40

0 Answers0