[Webkit-unassigned] [Bug 187045] New: Inconsistent output compared with other JS engines
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 26 08:16:04 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187045
Bug ID: 187045
Summary: Inconsistent output compared with other JS engines
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
Hello,
The following code behaves strangely (inconsistent with other engines).
class cc extends ( x = function () {
console.log("Hi");
}) {
};
In webkit, cc is defined normally and x is defined too.
However, in V8 and Firefox, a ReferenceError is reported:
ReferenceError: assignment to undeclared variable x
BT group
2018.6.26
--
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/20180626/28eb10f9/attachment.html>
More information about the webkit-unassigned
mailing list