1 2 3 4 5 6 7 8 9 10 11
|
//// [tests/cases/compiler/functionWithDefaultParameterWithNoStatements10.ts] ////
=== functionWithDefaultParameterWithNoStatements10.ts ===
function foo(a = [0]) { }
>foo : Symbol(foo, Decl(functionWithDefaultParameterWithNoStatements10.ts, 0, 0))
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements10.ts, 0, 13))
function bar(a = [0]) {
>bar : Symbol(bar, Decl(functionWithDefaultParameterWithNoStatements10.ts, 0, 25))
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements10.ts, 2, 13))
}
|