TypeScript/tests/baselines/reference/argumentsObjectIterator03_ES6.js
Daniel Rosenwasser 338bc0ef39 Added tests.
2015-05-29 14:59:19 -07:00

16 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];
}