« Bugzilla Issues Index

#1859 — NOTE in section conflicts with specified algorithm

The NOTE in section (Map.prototype.forEach) states that the same key is not visited multiple times, however the algorithm as specified leads to this behavior if a key is deleted and then re-added.

I believe that the algorithm text is correct - I'm unsure the NOTE is even required as set() is defined explicitly as not changing the iteration order, nor moving the entry in the MapData's list.

fixed in rev 21 editor's draft

deleted the note

fixed in rev21 draft