On Feb 24, 2015, at 5:52 AM, Axel Rauschmayer wrote:
> I’ve accidentally created the wrong set a few times:
>
> ```js
> let set = new Set('red', 'green', 'blue');
> // WRONG: same as new Set(['r', 'e', 'd'])
> ```
>
> Would it make sense to throw if either of the constructors `Set` and `Map` receives more than one argument?
or perhaps we should have Set.of(...args) and Set.from(iterable) methods.
Allen
d at domenic.me (2015-03-06T00:53:49.286Z)
or perhaps we should have Set.of(...args) and Set.from(iterable) methods.