[Webkit-unassigned] [Bug 244018] New: 'a\n' is considered as a variable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 16 20:22:34 PDT 2022


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

            Bug ID: 244018
           Summary: 'a\n' is considered as a variable
           Product: WebKit
           Version: Safari 15
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 845043157 at qq.com

Run the program:
var a=1;
a
();

JSC:
TypeError:a
 is not a function

V8 & SpiderMonkey:
TypeError:a is not a function

In the error message,'a/n' is output as the variable name but the really variable name is 'a'.I think it may be a bug.

-- 
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/20220817/f7c13023/attachment.htm>


More information about the webkit-unassigned mailing list