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

Mark S. Miller erights at
Wed Apr 23 19:48:26 PDT 2014

We need a deterministic order. What deterministic order do you suggest? Why
would it be better?

On Wed, Apr 23, 2014 at 7:36 PM, Qantas 94 Heavy <qantas94heavy at>wrote:

> 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?
> _______________________________________________
> es-discuss mailing list
> es-discuss at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list