[Webkit-unassigned] [Bug 220506] New: An issue about grammar checking
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 11 05:03:17 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220506
Bug ID: 220506
Summary: An issue about grammar checking
Product: WebKit
Version: WebKit Local Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nisl_grammarly1 at 163.com
#version: dbae081(https://github.com/WebKit/WebKit-http/commit/dbae081ad7e22d9ab61edf2f337f6c2bb593c7f8)
#Testcase:
for ([a,b] = [1,2] of [[3,4]]) {};
print(a);
print(b);
#Command:
./webkit/WebKitBuild/Release/bin/jsc testcase.js
#Output:
3
4
#Expected output:
SyntaxError: invalid for in/of left hand-side
#Description:
When executing this test case, other engines throw errors (such as v8, SpiderMonkey, chakra, etc.), but JSC executes normally and outputs 3 and 4. So I suspect this is a bug in javaScriptCore.
--
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/20210111/4c0e0eed/attachment-0001.htm>
More information about the webkit-unassigned
mailing list