* Error on rest parameter with trailing comma * Error on binding patterns and improve error location
5 lines
82 B
TypeScript
5 lines
82 B
TypeScript
const [...a,] = [];
|
|
const {...b,} = {};
|
|
let c, d;
|
|
([...c,] = []);
|
|
({...d,} = {});
|