TypeScript/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.js
2015-04-16 12:42:25 -07:00

19 lines
399 B
TypeScript

//// [emitArrowFunctionWhenUsingArguments16_ES6.ts]
function f() {
var arguments = "hello";
if (Math.random()) {
return () => arguments[0];
}
var arguments = "world";
}
//// [emitArrowFunctionWhenUsingArguments16_ES6.js]
function f() {
var arguments = "hello";
if (Math.random()) {
return () => arguments[0];
}
var arguments = "world";
}