TypeScript/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18_ES6.js

17 lines
366 B
TypeScript
Raw Normal View History

2015-04-16 21:42:25 +02:00
//// [emitArrowFunctionWhenUsingArguments18_ES6.ts]
function f() {
var { arguments: args } = { arguments };
if (Math.random()) {
return () => arguments;
}
}
//// [emitArrowFunctionWhenUsingArguments18_ES6.js]
function f() {
var { arguments: args } = { arguments };
if (Math.random()) {
return () => arguments;
}
}