v8/test/message/arrow-invalid-rest-2.out
2016-02-02 00:33:07 +00:00

5 lines
218 B
Plaintext

*%(basename)s:7: SyntaxError: Rest parameter must be an identifier or destructuring pattern
var f = (a, ...x = 10) => x;
^^^^^^^^^
SyntaxError: Rest parameter must be an identifier or destructuring pattern