11 lines
No EOL
638 B
Text
11 lines
No EOL
638 B
Text
tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments11.ts(4,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.
|
|
|
|
|
|
==== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments11.ts (1 errors) ====
|
|
|
|
function f(arguments) {
|
|
var _arguments = 10;
|
|
var a = () => () => arguments;
|
|
~~~~~~~~~
|
|
!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.
|
|
} |