1dbc432729
This commit is a precursor to making lazy arrow function parsing use similar logic to function(){} argument parsing. R=arv@chromium.org BUG=4020 LOG=N Review URL: https://codereview.chromium.org/1078093002 Cr-Commit-Position: refs/heads/master@{#27773}
5 lines
187 B
Plaintext
5 lines
187 B
Plaintext
*%(basename)s:7: SyntaxError: Rest parameter must be last formal parameter
|
|
function foo(...b, a) { return a }
|
|
^
|
|
SyntaxError: Rest parameter must be last formal parameter
|