25 lines
512 B
Plaintext
25 lines
512 B
Plaintext
|
=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments15_ES6.ts ===
|
||
|
|
||
|
function f() {
|
||
|
>f : () => () => IArguments
|
||
|
|
||
|
var arguments = "hello";
|
||
|
>arguments : string
|
||
|
>"hello" : string
|
||
|
|
||
|
if (Math.random()) {
|
||
|
>Math.random() : number
|
||
|
>Math.random : () => number
|
||
|
>Math : Math
|
||
|
>random : () => number
|
||
|
|
||
|
const arguments = 100;
|
||
|
>arguments : number
|
||
|
>100 : number
|
||
|
|
||
|
return () => arguments;
|
||
|
>() => arguments : () => IArguments
|
||
|
>arguments : IArguments
|
||
|
}
|
||
|
}
|