mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
4 lines
98 B
TypeScript
4 lines
98 B
TypeScript
var a: number[];
|
|
var x: number[];
|
|
[...x = a] = a; // Error, rest element cannot have initializer
|