TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments16_ES6.ts

9 lines
168 B
TypeScript
Raw Normal View History

// @target: es6
function f() {
var arguments = "hello";
if (Math.random()) {
return () => arguments[0];
}
var arguments = "world";
}