* handle disordered rest parameter in function expressions * remove spaces [lint] * polish function parameters validation * add test with arrow function and comma after rest parameter [babel-parser]
4 lines
70 B
JSON
4 lines
70 B
JSON
{
|
|
"throws": "Rest parameter must be last formal parameter (1:18)"
|
|
}
|