mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
3 lines
128 B
TypeScript
3 lines
128 B
TypeScript
|
var [...a, x] = [1, 2, 3]; // Error, rest must be last element
|
||
|
[...a, x] = [1, 2, 3]; // Error, rest must be last element
|