10 lines
626 B
Plaintext
10 lines
626 B
Plaintext
tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments07.ts(3,34): 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/emitArrowFunctionWhenUsingArguments07.ts (1 errors) ====
|
|
|
|
function f(arguments) {
|
|
var a = (arguments) => () => arguments;
|
|
~~~~~~~~~
|
|
!!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.
|
|
} |