mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
340 B
TypeScript
21 lines
340 B
TypeScript
//// [tests/cases/compiler/functionExpressionInWithBlock.ts] ////
|
|
|
|
//// [functionExpressionInWithBlock.ts]
|
|
function x() {
|
|
with({}) {
|
|
function f() {
|
|
() => this;
|
|
}
|
|
}
|
|
}
|
|
|
|
//// [functionExpressionInWithBlock.js]
|
|
"use strict";
|
|
function x() {
|
|
with ({}) {
|
|
function f() {
|
|
() => this;
|
|
}
|
|
}
|
|
}
|