9 lines
461 B
Text
9 lines
461 B
Text
=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements6.ts ===
|
|
function foo(a = true) { }
|
|
>foo : Symbol(foo, Decl(functionWithDefaultParameterWithNoStatements6.ts, 0, 0))
|
|
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements6.ts, 0, 13))
|
|
|
|
function bar(a = true) {
|
|
>bar : Symbol(bar, Decl(functionWithDefaultParameterWithNoStatements6.ts, 0, 26))
|
|
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements6.ts, 2, 13))
|
|
}
|