mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
344 B
Plaintext
11 lines
344 B
Plaintext
//// [tests/cases/compiler/collisionThisExpressionAndVarInGlobal.ts] ////
|
|
|
|
=== collisionThisExpressionAndVarInGlobal.ts ===
|
|
var _this = 1;
|
|
>_this : Symbol(_this, Decl(collisionThisExpressionAndVarInGlobal.ts, 0, 3))
|
|
|
|
var f = () => this;
|
|
>f : Symbol(f, Decl(collisionThisExpressionAndVarInGlobal.ts, 1, 3))
|
|
>this : Symbol(globalThis)
|
|
|