5 lines
108 B
TypeScript
5 lines
108 B
TypeScript
|
// @declaration: true
|
||
|
function bar([x, z, ...w]) { }
|
||
|
function foo([x, ...y] = [1, "string", true]) { }
|
||
|
|