[Webkit-unassigned] [Bug 153977] New: [ES6] Arrow function syntax. Using eval with 'super'/'super()' in arrow function within the class should not lead to Syntax error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 7 23:52:48 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=153977
Bug ID: 153977
Summary: [ES6] Arrow function syntax. Using eval with
'super'/'super()' in arrow function within the class
should not lead to Syntax error
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
Using eval with 'super'/'super()' in arrow function within the class should not lead to Syntax error:
const testValue = 'test-value';
class A {
constructor() {
this.idValue = testValue;
}
};
class B extends A {
constructor (beforeSuper) {
var arrow = () => eval('(() => super())()');
arrow();
}
};
let b = new B();
b.idValue == testValue; //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/20160208/80f9b19c/attachment.html>
More information about the webkit-unassigned
mailing list