20 lines
438 B
Text
20 lines
438 B
Text
=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments14_ES6.ts ===
|
|
|
|
function f() {
|
|
>f : () => () => IArguments
|
|
|
|
if (Math.random()) {
|
|
>Math.random() : number
|
|
>Math.random : () => number
|
|
>Math : Math
|
|
>random : () => number
|
|
|
|
let arguments = 100;
|
|
>arguments : number
|
|
>100 : number
|
|
|
|
return () => arguments;
|
|
>() => arguments : () => IArguments
|
|
>arguments : IArguments
|
|
}
|
|
}
|