[Webkit-unassigned] [Bug 138563] The third parameter of a Map.prototype.forEach callback function is undefined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 7 07:26:01 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=138563

Diego Pino <dpino at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dpino at igalia.com

--- Comment #3 from Diego Pino <dpino at igalia.com> ---
The same change is necessary for Set. According to the ES6 spec [1]:

"callbackfn is called with three arguments: the first two arguments are a value contained in the Set. The same value of passed for both arguments. The Set object being traversed is passed as the third argument."

[1] http://people.mozilla.org/~jorendorff/es6-draft.html#sec-set.prototype.foreach

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141207/1c490ada/attachment-0002.html>


More information about the webkit-unassigned mailing list