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

16 lines
362 B
TypeScript

//// [argumentsObjectIterator03_ES5.ts]
function asReversedTuple(a: number, b: string, c: boolean): [boolean, string, number] {
let [x, y, z] = arguments;
return [z, y, x];
}
//// [argumentsObjectIterator03_ES5.js]
function asReversedTuple(a, b, c) {
var x = arguments[0], y = arguments[1], z = arguments[2];
return [z, y, x];
}