javascript 物件的clone. // 一般的clone. var ret = Object.assign({}, object);. // deep clone. var ret = JSON.parse(JSON.stringify(object));.
確定! 回上一頁