[Webkit-unassigned] [Bug 62264] New: reduce and reduceRight bind callback's this to null rather than undefined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 7 22:02:35 PDT 2011


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

           Summary: reduce and reduceRight bind callback's this to null
                    rather than undefined
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: erights at gmail.com


Both
    [2,3].reduce(function(){'use strict';return this;})
and
    [2,3].reduceRight(function(){'use strict';return this;})
return null rather than undefined. This violates step 9.c.ii of sections 15.4.4.21 and 15.4.4.22 of ES5.1.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list