26 lines
1.4 KiB
Text
26 lines
1.4 KiB
Text
=== tests/cases/conformance/es6/defaultParameters/emitDefaultParametersFunctionPropertyES6.ts ===
|
|
var obj2 = {
|
|
>obj2 : Symbol(obj2, Decl(emitDefaultParametersFunctionPropertyES6.ts, 0, 3))
|
|
|
|
func1(y = 10, ...rest) { },
|
|
>func1 : Symbol(func1, Decl(emitDefaultParametersFunctionPropertyES6.ts, 0, 12))
|
|
>y : Symbol(y, Decl(emitDefaultParametersFunctionPropertyES6.ts, 1, 10))
|
|
>rest : Symbol(rest, Decl(emitDefaultParametersFunctionPropertyES6.ts, 1, 17))
|
|
|
|
func2(x = "hello") { },
|
|
>func2 : Symbol(func2, Decl(emitDefaultParametersFunctionPropertyES6.ts, 1, 31))
|
|
>x : Symbol(x, Decl(emitDefaultParametersFunctionPropertyES6.ts, 2, 10))
|
|
|
|
func3(x: string, z: number, y = "hello") { },
|
|
>func3 : Symbol(func3, Decl(emitDefaultParametersFunctionPropertyES6.ts, 2, 27))
|
|
>x : Symbol(x, Decl(emitDefaultParametersFunctionPropertyES6.ts, 3, 10))
|
|
>z : Symbol(z, Decl(emitDefaultParametersFunctionPropertyES6.ts, 3, 20))
|
|
>y : Symbol(y, Decl(emitDefaultParametersFunctionPropertyES6.ts, 3, 31))
|
|
|
|
func4(x: string, z: number, y = "hello", ...rest) { },
|
|
>func4 : Symbol(func4, Decl(emitDefaultParametersFunctionPropertyES6.ts, 3, 49))
|
|
>x : Symbol(x, Decl(emitDefaultParametersFunctionPropertyES6.ts, 4, 10))
|
|
>z : Symbol(z, Decl(emitDefaultParametersFunctionPropertyES6.ts, 4, 20))
|
|
>y : Symbol(y, Decl(emitDefaultParametersFunctionPropertyES6.ts, 4, 31))
|
|
>rest : Symbol(rest, Decl(emitDefaultParametersFunctionPropertyES6.ts, 4, 44))
|
|
}
|