mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
414 B
TypeScript
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];
|
|
}
|