TypeScript/tests/baselines/reference/functionExpressionInWithBlock.js

18 lines
276 B
TypeScript

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