12 lines
344 B
Plaintext
12 lines
344 B
Plaintext
=== tests/cases/compiler/blockScopedFunctionDeclarationES6.ts ===
|
|
if (true) {
|
|
function foo() { }
|
|
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES6.ts, 0, 11))
|
|
|
|
foo();
|
|
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES6.ts, 0, 11))
|
|
}
|
|
foo();
|
|
>foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES6.ts, 0, 11))
|
|
|