Traversal in insertion order for Set.prototype.add/delete

Qantas 94 Heavy qantas94heavy at
Wed Apr 23 19:36:04 PDT 2014

Maybe my brain's just fried, but is there any reason for Set.prototype.add
and Set.prototype.delete enforcing iteration "by original insertion order"?
There aren't any side effects that I know of by iterating through the list
of elements in some other order, as all the elements of a set are meant to
be unique. Am I missing something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list