24 lines
512 B
Text
24 lines
512 B
Text
=== 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
|
|
}
|
|
}
|