To shallow clone an object, just use the JavaScript spread operator. To perform a deep clone, make use of lodash deepClone .
確定! 回上一頁