mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
470 B
TypeScript
19 lines
470 B
TypeScript
//// [tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments18.ts] ////
|
|
|
|
//// [emitArrowFunctionWhenUsingArguments18.ts]
|
|
function f() {
|
|
var { arguments: args } = { arguments };
|
|
if (Math.random()) {
|
|
return () => arguments;
|
|
}
|
|
}
|
|
|
|
//// [emitArrowFunctionWhenUsingArguments18.js]
|
|
"use strict";
|
|
function f() {
|
|
var { arguments: args } = { arguments };
|
|
if (Math.random()) {
|
|
return () => arguments;
|
|
}
|
|
}
|