mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
68d76afe5d
**Related issue:** - Closes https://github.com/swc-project/swc/issues/6589.
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};
|