TypeScript/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.js

17 lines
348 B
TypeScript
Raw Normal View History

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