TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments14.ts
2015-04-16 12:29:49 -07:00

8 lines
137 B
TypeScript

// @target: es5
function f() {
if (Math.random()) {
const arguments = 100;
return () => arguments;
}
}