1 2 3 4 5 6 7 8 9 10 11
|
=== 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)
}
|