TypeScript/tests/baselines/reference/functionExpressionInWithBlock.js
2014-07-21 17:10:04 -07:00

18 lines
276 B
JavaScript

//// [functionExpressionInWithBlock.ts]
function x() {
with({}) {
function f() {
() => this;
}
}
}
//// [functionExpressionInWithBlock.js]
function x() {
with ({}) {
function f() {
(function () { return this; });
}
}
}