mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
2 lines
144 B
JavaScript
2 lines
144 B
JavaScript
|
export function func({a,b,...rest}){console.log(a,b,rest)}const other={unknow:"foo"};let foo={...other,bar:"baz"};let bar={bar:"baz",...other};
|