- 2
Poor wording
this sentence makes no sense: "where iterable is an array" Therefor, i don't understand it. ES6 Map & Set
2 Respuestas
+ 3
iterable are objects with numeric index.
array is one of iterable with array methods.
other iterables include NodeList, HTMLCollection, etc.
+ 2
That sentence makes complete sense.
Syntax of making a set is new set([iterable]), so you have to pass an Array as iterable.
Like new set([10,20,30,40])