21 lines
973 B
Plaintext
21 lines
973 B
Plaintext
=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments17_ES6.ts ===
|
|
|
|
function f() {
|
|
>f : Symbol(f, Decl(emitArrowFunctionWhenUsingArguments17_ES6.ts, 0, 0))
|
|
|
|
var { arguments } = { arguments: "hello" };
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments17_ES6.ts, 2, 9), Decl(emitArrowFunctionWhenUsingArguments17_ES6.ts, 6, 7))
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments17_ES6.ts, 2, 25))
|
|
|
|
if (Math.random()) {
|
|
>Math.random : Symbol(Math.random, Decl(lib.d.ts, --, --))
|
|
>Math : Symbol(Math, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
|
>random : Symbol(Math.random, Decl(lib.d.ts, --, --))
|
|
|
|
return () => arguments[0];
|
|
>arguments : Symbol(arguments)
|
|
}
|
|
var arguments = "world";
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments17_ES6.ts, 2, 9), Decl(emitArrowFunctionWhenUsingArguments17_ES6.ts, 6, 7))
|
|
}
|