Javascript set vs array vs object definition

Viewed 9458

I'm unclear about what the differences between Set and Array are in Javascript (other than Set is new in ES6). Why would you use Set instead of Array or an Object definition.

Why was Set introduced?

1 Answers
Related