DEV Community

Discussion on: Understanding the Spread Operator in JavaScript

Collapse
 
jxnday profile image
Jackson Day • Edited

Great intro to spread! Looks super useful for making copies. Though at the end, I believe you mean to say

original.child == copy.child

(not

original.child == original.copy

) is that right?

Collapse
 
marinamosti profile image
Marina Mosti

πŸ€¦β€β™€οΈThis is why you dont hotfix posts while doing 3 other things. Thanks! :)