方法四: 國外網友提供的遞迴方法,感覺很不錯. */. const clone = (items) => items.map(item => Array.isArray(item) ? clone(item) : {...item});.
確定! 回上一頁