assign({}, x);. But be aware this is a shallow copy - nested objects are still copied as reference.
確定! 回上一頁