v8/test/message/fail/arrow-invalid-rest.out

5 lines
183 B
Plaintext
Raw Normal View History

*%(basename)s:7: SyntaxError: Rest parameter may not have a default initializer
var f = (...x = 10) => x;
^
SyntaxError: Rest parameter may not have a default initializer