[Webkit-unassigned] [Bug 188951] New: Inconsistent function hoisting in for...in

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 26 00:25:37 PDT 2018


            Bug ID: 188951
           Summary: Inconsistent function hoisting in for...in
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sunlili at ict.ac.cn

Executing following code :
var a = new Array(1);
for (var i in a){
        function v9() {
print(typeof v9);
Output of JavaScriptCore :

However, output of other js engines(v8, ch, spm) is :

BT group

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/20180826/f26b1538/attachment.html>

More information about the webkit-unassigned mailing list