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

8 lines
151 B
TypeScript
Raw Normal View History

// @target: es6
function f() {
var { arguments: args } = { arguments };
if (Math.random()) {
return () => arguments;
}
}