TypeScript/tests/baselines/reference/functionExpressionInWithBlock.js

18 lines
276 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [functionExpressionInWithBlock.ts]
function x() {
with({}) {
function f() {
() => this;
}
}
}
//// [functionExpressionInWithBlock.js]
function x() {
with ({}) {
function f() {
(function () { return this; });
2014-07-13 01:04:16 +02:00
}
}
}