20 lines
754 B
Text
20 lines
754 B
Text
=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments15_ES6.ts ===
|
|
|
|
function f() {
|
|
>f : Symbol(f, Decl(emitArrowFunctionWhenUsingArguments15_ES6.ts, 0, 0))
|
|
|
|
var arguments = "hello";
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments15_ES6.ts, 2, 7))
|
|
|
|
if (Math.random()) {
|
|
>Math.random : Symbol(Math.random, Decl(lib.d.ts, 608, 38))
|
|
>Math : Symbol(Math, Decl(lib.d.ts, 522, 1), Decl(lib.d.ts, 633, 11), Decl(lib.d.ts, 1691, 60))
|
|
>random : Symbol(Math.random, Decl(lib.d.ts, 608, 38))
|
|
|
|
const arguments = 100;
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments15_ES6.ts, 4, 13))
|
|
|
|
return () => arguments;
|
|
>arguments : Symbol(arguments)
|
|
}
|
|
}
|