15 lines
331 B
TypeScript
15 lines
331 B
TypeScript
//// [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]
|
|
function asReversedTuple(a, b, c) {
|
|
let [x, y, z] = arguments;
|
|
return [z, y, x];
|
|
}
|