I think it’s great that maps and sets honor insertion order.

Two ideas:

* Sets: Could the keys used for `Set.prototype.entries()` and 
`Set.prototype.forEach()` be the position of an element? IMO that’d be more 
useful than using the element as both key and value.

* Maps: Long-term, I’d love to be able to access and delete entries by position.

Axel

-- 
Dr. Axel Rauschmayer
a...@rauschma.de
rauschma.de



_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to