You are looking for var obj = Object.assign({}, ...array). that creates a new object instead of mutating array[0] .
確定! 回上一頁