>or perhaps we should have Set.of(...args) and Set.from(iterable) methods.
I was under the impression that Array.of() was solely an apologetic patch over Array()'s broken arguments interpretation, and not really an apogee for future or present collection classes. Regarding the main topic: I personally this case would be better solved by adding one of those Set and Map literal ideas that were [kicked around awhile back]( https://mail.mozilla.org/pipermail/es-discuss/2014-October/039806.html) and using those in lieu of the clunky constructor.
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss