mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
946 B
Plaintext
21 lines
946 B
Plaintext
//// [tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments18_ES6.ts] ////
|
|
|
|
=== emitArrowFunctionWhenUsingArguments18_ES6.ts ===
|
|
function f() {
|
|
>f : Symbol(f, Decl(emitArrowFunctionWhenUsingArguments18_ES6.ts, 0, 0))
|
|
|
|
var { arguments: args } = { arguments };
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments18_ES6.ts, 1, 31))
|
|
>args : Symbol(args, Decl(emitArrowFunctionWhenUsingArguments18_ES6.ts, 1, 9))
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments18_ES6.ts, 1, 31))
|
|
|
|
if (Math.random()) {
|
|
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
|
|
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
|
|
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
|
|
|
|
return () => arguments;
|
|
>arguments : Symbol(arguments)
|
|
}
|
|
}
|