=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments17_ES6.ts === function f() { >f : () => () => any var { arguments } = { arguments: "hello" }; >arguments : string >{ arguments: "hello" } : { arguments: string; } >arguments : string >"hello" : string if (Math.random()) { >Math.random() : number >Math.random : () => number >Math : Math >random : () => number return () => arguments[0]; >() => arguments[0] : () => any >arguments[0] : any >arguments : IArguments >0 : number } var arguments = "world"; >arguments : string >"world" : string }