2015-04-16 22:29:20 +02:00
|
|
|
=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments18_ES6.ts ===
|
|
|
|
|
|
|
|
function f() {
|
|
|
|
>f : Symbol(f, Decl(emitArrowFunctionWhenUsingArguments18_ES6.ts, 0, 0))
|
|
|
|
|
|
|
|
var { arguments: args } = { arguments };
|
|
|
|
>args : Symbol(args, Decl(emitArrowFunctionWhenUsingArguments18_ES6.ts, 2, 9))
|
|
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments18_ES6.ts, 2, 31))
|
|
|
|
|
|
|
|
if (Math.random()) {
|
|
|
|
>Math.random : Symbol(Math.random, Decl(lib.d.ts, 608, 38))
|
2015-06-15 21:04:15 +02:00
|
|
|
>Math : Symbol(Math, Decl(lib.d.ts, 522, 1), Decl(lib.d.ts, 633, 11), Decl(lib.d.ts, 1704, 60))
|
2015-04-16 22:29:20 +02:00
|
|
|
>random : Symbol(Math.random, Decl(lib.d.ts, 608, 38))
|
|
|
|
|
|
|
|
return () => arguments;
|
|
|
|
>arguments : Symbol(arguments)
|
|
|
|
}
|
|
|
|
}
|