//// [tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments17.ts] ////

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

//// [emitArrowFunctionWhenUsingArguments17.js]
"use strict";
function f() {
    var arguments = { arguments: "hello" }.arguments;
    if (Math.random()) {
        return function () { return arguments[0]; };
    }
    var arguments = "world";
}
