6 lines
No EOL
218 B
Text
6 lines
No EOL
218 B
Text
==== tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList1.ts (1 errors) ====
|
|
class C {
|
|
F(...A, B) { }
|
|
~
|
|
!!! A rest parameter must be last in a parameter list.
|
|
} |