mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
529 B
Plaintext
12 lines
529 B
Plaintext
//// [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))
|
|
}
|