var cloned_array = JSON.parse( JSON.stringify(arrayData) );. 用Json互轉能達成深拷貝,不過例外是function 無法被轉換。function 在JavaScript 國是一 ...
確定! 回上一頁