19 lines
437 B
TypeScript
19 lines
437 B
TypeScript
//// [emitArrowFunctionWhenUsingArguments17_ES6.ts]
|
|
|
|
function f() {
|
|
var { arguments } = { arguments: "hello" };
|
|
if (Math.random()) {
|
|
return () => arguments[0];
|
|
}
|
|
var arguments = "world";
|
|
}
|
|
|
|
//// [emitArrowFunctionWhenUsingArguments17_ES6.js]
|
|
function f() {
|
|
var { arguments } = { arguments: "hello" };
|
|
if (Math.random()) {
|
|
return () => arguments[0];
|
|
}
|
|
var arguments = "world";
|
|
}
|