swc/crates/swc_ecma_parser/tests/tsc/emitArrowFunctionWhenUsingArguments17.ts

9 lines
176 B
TypeScript

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