TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements5.symbols

10 lines
455 B
Plaintext
Raw Normal View History

=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements5.ts ===
function foo(a = 0) { }
>foo : Symbol(foo, Decl(functionWithDefaultParameterWithNoStatements5.ts, 0, 0))
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements5.ts, 0, 13))
function bar(a = 0) {
>bar : Symbol(bar, Decl(functionWithDefaultParameterWithNoStatements5.ts, 0, 23))
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements5.ts, 2, 13))
}