To copy an object in JavaScript, you have three options: Use the spread ( ... ) syntax; Use the Object.assign() method; Use the JSON.stringify ...
確定! 回上一頁