17 lines
276 B
TypeScript
17 lines
276 B
TypeScript
//// [functionExpressionInWithBlock.ts]
|
|
function x() {
|
|
with({}) {
|
|
function f() {
|
|
() => this;
|
|
}
|
|
}
|
|
}
|
|
|
|
//// [functionExpressionInWithBlock.js]
|
|
function x() {
|
|
with ({}) {
|
|
function f() {
|
|
(function () { return this; });
|
|
}
|
|
}
|
|
}
|