标签: javascript clone
我希望是真的,为什么我会错?
var words = ['Hi', 'Hello', 'Good day']; var otherWords = [...words]; console.log(otherWords); // => ['Hi', 'Hello', 'Good day'] console.log(otherWords === words); // => false