1 2 3 4 5 6 7 8 9 10 11
|
//// [tests/cases/compiler/functionWithDefaultParameterWithNoStatements6.ts] ////
=== 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))
}
|