DEV Community

Discussion on: Modern JavaScript, 10 things you should be using, starting today

Collapse
 
spock123 profile image
Lars Rye Jeppesen

Merging objects using spread operator does not make a deep copy. Be very careful with this or you'll really mess up