It would be nice to have spread syntax for object literals [1] in QuickJS:
let obj = {a: 3, b: 4}; let objClone = { ...obj };