Files
tsgo/testdata/baselines/reference/submodule/compiler/argumentsObjectIterator03_ES6.js

18 lines
414 B
TypeScript

//// [tests/cases/compiler/argumentsObjectIterator03_ES6.ts] ////
//// [argumentsObjectIterator03_ES6.ts]
function asReversedTuple(a: number, b: string, c: boolean): [boolean, string, number] {
let [x, y, z] = arguments;
return [z, y, x];
}
//// [argumentsObjectIterator03_ES6.js]
"use strict";
function asReversedTuple(a, b, c) {
let [x, y, z] = arguments;
return [z, y, x];
}