[Webkit-unassigned] [Bug 149615] [ES6] Arrow function syntax. Arrow function specific features. Lexical bind "super" property
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 10 07:24:10 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=149615
--- Comment #5 from GSkachkov <gskachkov at gmail.com> ---
In short patch for this issue should implement following script
var expectedValue = 'test-value';
class A {
getValue () {
return expectedValue;
}
};
class B extends A {
getValueParentFunction() {
var arrow = () => super.getValue();
return arrow();
}
};
let b = new B();
b.getValueParentFunction() === expectedValue;
--
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/20151210/55564231/attachment.html>
More information about the webkit-unassigned
mailing list