11 lines
535 B
Text
11 lines
535 B
Text
=== tests/cases/compiler/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)
|
|
}
|