thinking about the add behavior, where no duplicated values will be added, this argument may cause some logic headache anyway
Set([1, 2, 1]) what should happen ? Also I would probably never use typed arrays to Set procedure ... that sounds against performances About new syntax, generators are new too so ... var s = Set(...(x * x for x of primes)); as well as all others ... still, I start thinking Set constructor is good as it is my 2 cents
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss