DEV Community

Discussion on: Spread Operator: How Spread Works in JavaScript

Collapse
 
oluwatobiss profile image
Oluwatobi Sofela

Thanks, Keff, for highlighting this significant omission. I have now updated the article to reflect how spread works on objects with non-primitive values.

Collapse
 
nombrekeff profile image
Keff

No problem, I'm becoming the "spread-shallow-copy" guy lol!