[Bug 28978] The order of forEach() parameters for iterable declaration is inconsistent with other definitions

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28978

--- Comment #2 from David Dorwin <ddorwin@google.com> ---
These issues were discussed in
https://lists.w3.org/Archives/Public/public-script-coord/2015OctDec/0039.html.
For pair iterators, there was agreement to use "value, key, this".

I believe the "If the interface has an iterable declaration..." text has been
replaced with "If the interface has a pair iterator..."

The corresponding algorithm now says, "Invoke callback with thisArg (or
undefined, if the argument was not supplied) as the callback this value and
value, key and O as its arguments."

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 2 June 2016 19:21:18 UTC