2014-07-13 01:04:16 +02:00
|
|
|
//// [restParameters.ts]
|
|
|
|
function f18(a?:string, ...b:number[]){}
|
|
|
|
|
|
|
|
function f19(a?:string, b?:number, ...c:number[]){}
|
|
|
|
|
|
|
|
function f20(a:string, b?:string, ...c:number[]){}
|
|
|
|
|
|
|
|
function f21(a:string, b?:string, c?:number, ...d:number[]){}
|
|
|
|
|
|
|
|
//// [restParameters.js]
|
2015-02-07 03:45:09 +01:00
|
|
|
function f18(a) { }
|
|
|
|
function f19(a, b) { }
|
|
|
|
function f20(a, b) { }
|
|
|
|
function f21(a, b, c) { }
|