[Webkit-unassigned] [Bug 160955] New: [ES2016] Allow assignment in for-in head in not-strict mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 17 23:48:12 PDT 2016


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

            Bug ID: 160955
           Summary: [ES2016] Allow assignment in for-in head in not-strict
                    mode
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gskachkov at gmail.com

Links to spec https://tc39.github.io/ecma262/#sec-initializers-in-forin-statement-heads

var f = function () {  
    for (var i = 0 in {}) {}
    return i === 0;
};
f(); // False -> should be true

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160818/b5bc1293/attachment.html>


More information about the webkit-unassigned mailing list