swc/crates/swc_ecma_codegen/tests/fixture/issue-6589/js/output.min.js

2 lines
144 B
JavaScript
Raw Normal View History

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};