9 lines
No EOL
572 B
Text
9 lines
No EOL
572 B
Text
tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments03.ts(3,15): 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/emitArrowFunctionWhenUsingArguments03.ts (1 errors) ====
|
|
|
|
var arguments;
|
|
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. |