24 lines
652 B
Plaintext
24 lines
652 B
Plaintext
=== tests/cases/compiler/namedFunctionExpressionCall.ts ===
|
|
var recurser = function foo() {
|
|
>recurser : Symbol(recurser, Decl(namedFunctionExpressionCall.ts, 0, 3))
|
|
>foo : Symbol(foo, Decl(namedFunctionExpressionCall.ts, 0, 14))
|
|
|
|
// using the local name
|
|
foo();
|
|
>foo : Symbol(foo, Decl(namedFunctionExpressionCall.ts, 0, 14))
|
|
|
|
// using the globally visible name
|
|
recurser();
|
|
>recurser : Symbol(recurser, Decl(namedFunctionExpressionCall.ts, 0, 3))
|
|
|
|
};
|
|
|
|
|
|
(function bar() {
|
|
>bar : Symbol(bar, Decl(namedFunctionExpressionCall.ts, 9, 1))
|
|
|
|
bar();
|
|
>bar : Symbol(bar, Decl(namedFunctionExpressionCall.ts, 9, 1))
|
|
|
|
});
|