2 lines
87 B
TypeScript
2 lines
87 B
TypeScript
var a: number[];
|
|
var [...x = a] = a; // Error, rest element cannot have initializer
|