mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
13 lines
333 B
Plaintext
13 lines
333 B
Plaintext
|
|
x Expected '{', got '<eof>'
|
|
,-[$DIR/tests/test262-parser/fail/2d1410e37ecc3647.js:1:1]
|
|
1 | function f(a, ...b = 0)
|
|
: ^
|
|
`----
|
|
|
|
x A rest parameter cannot have an initializer
|
|
,-[$DIR/tests/test262-parser/fail/2d1410e37ecc3647.js:1:1]
|
|
1 | function f(a, ...b = 0)
|
|
: ^
|
|
`----
|