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