11 lines
413 B
TypeScript
11 lines
413 B
TypeScript
//// [emitRestParametersFunctionExpressionES6.ts]
|
|
var funcExp = (...rest) => { }
|
|
var funcExp1 = (X: number, ...rest) => { }
|
|
var funcExp2 = function (...rest) { }
|
|
var funcExp3 = (function (...rest) { })()
|
|
|
|
//// [emitRestParametersFunctionExpressionES6.js]
|
|
var funcExp = (...rest) => { };
|
|
var funcExp1 = (X, ...rest) => { };
|
|
var funcExp2 = function (...rest) { };
|
|
var funcExp3 = (function (...rest) { })();
|