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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
189 B
Plaintext
Raw Normal View History

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