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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 10 05:09:12 PST 2014


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

            Bug ID: 138563
           Summary: The third parameter of a Map.prototype.forEach
                    callback function is undefined
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: southsystems at gmail.com

Codepen here:

http://codepen.io/stevesouth/pen/NPKzYz/

According to MDN the callback function of a Map.forEach should get called with three arguments

callback is invoked with three arguments:

    the element value
    the element key
    the Map object being traversed

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/forEach

However in Webkit the third parameter is undefined.

-- 
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/20141110/8b83e9a4/attachment-0002.html>


More information about the webkit-unassigned mailing list