9 lines
173 B
TypeScript
9 lines
173 B
TypeScript
|
//@target: ES6
|
||
|
|
||
|
function asReversedTuple(a: number, b: string, c: boolean): [boolean, string, number] {
|
||
|
let [x, y, z] = arguments;
|
||
|
|
||
|
return [z, y, x];
|
||
|
}
|
||
|
|