archives

« Bugzilla Issues Index

#2862 — Map object iteration description underspecified


It's possible that this is covered later, but I'm filing as I read so I will close this if necessary.

In the Map Objects description, the iteration is described as

"A Map object can iterate its elements in insertion order."

I would suggest changing this to:

"A Map object must iterate its elements in insertion order."

This avoids any confusion about the expected iteration order


I think we can just loose that sentence as the forEach and Map Iterator provide the normative definition of Map the iteration order.

fixed in rev25 editor's draft


fixed in rev25 editor's draft