mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 16:42:28 +03:00
17 lines
320 B
JavaScript
17 lines
320 B
JavaScript
[...a,]=[...spread,];
|
|
const [...a,] = [...spread,];
|
|
([...a,],)=>{};
|
|
({...a,},)=>{};
|
|
(...a,)=>{};
|
|
class c {
|
|
constructor(...a,){}
|
|
fn(...a,) {}
|
|
}
|
|
function fn([...a,],) {};
|
|
function fn({...a,},) {};
|
|
function fn(...a,) {};
|
|
({...a,}={...spread,});
|
|
const {...a,} = {...spread,};
|
|
for ([...a,] of a) {}
|
|
for ({...a,} of b) {}
|