mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
521 B
TypeScript
16 lines
521 B
TypeScript
//// [tests/cases/conformance/es6/restParameters/emitRestParametersFunctionExpression.ts] ////
|
|
|
|
//// [emitRestParametersFunctionExpression.ts]
|
|
var funcExp = (...rest) => { }
|
|
var funcExp1 = (X: number, ...rest) => { }
|
|
var funcExp2 = function (...rest) { }
|
|
var funcExp3 = (function (...rest) { })()
|
|
|
|
|
|
//// [emitRestParametersFunctionExpression.js]
|
|
"use strict";
|
|
var funcExp = (...rest) => { };
|
|
var funcExp1 = (X, ...rest) => { };
|
|
var funcExp2 = function (...rest) { };
|
|
var funcExp3 = (function (...rest) { })();
|