[Webkit-unassigned] [Bug 156059] New: [ES6] Arrow function syntax. Add missed test for using 'with' and 'this' in arrow function.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 31 00:18:37 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=156059
Bug ID: 156059
Summary: [ES6] Arrow function syntax. Add missed test for using
'with' and 'this' in arrow function.
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
Add tests that cover following case in arrow function
function foo() {
let arr = () => {
with ({'this': 40}) {
return this;
}
}
return arr();
}
let o1 = {'this': 20};
assert(o1 === foo.call(o1));
--
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/20160331/40c42069/attachment.html>
More information about the webkit-unassigned
mailing list