Not only can the spread operator be used for arrays, it can be used for objects as well. Just like copying the array before, we can copy an object. let obj = {a ...
確定! 回上一頁