mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
599 B
Plaintext
14 lines
599 B
Plaintext
//// [tests/cases/compiler/functionWithDefaultParameterWithNoStatements8.ts] ////
|
|
|
|
=== functionWithDefaultParameterWithNoStatements8.ts ===
|
|
function foo(a = undefined) { }
|
|
>foo : Symbol(foo, Decl(functionWithDefaultParameterWithNoStatements8.ts, 0, 0))
|
|
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements8.ts, 0, 13))
|
|
>undefined : Symbol(undefined)
|
|
|
|
function bar(a = undefined) {
|
|
>bar : Symbol(bar, Decl(functionWithDefaultParameterWithNoStatements8.ts, 0, 31))
|
|
>a : Symbol(a, Decl(functionWithDefaultParameterWithNoStatements8.ts, 2, 13))
|
|
>undefined : Symbol(undefined)
|
|
}
|