Skip to content
🧠 Master React Package Creation — Claim Your Spot

Edit It: How Does Spread Operator Work on Objects with Non-Primitives?

Home>Spread Operator in JavaScript>Edit It: How Does Spread Operator Work on Objects with Non-Primitives?

Edit It: How Does Spread Operator Work on Objects with Non-Primitives?

This code shows how spread works on objects containing non-primitives.

See it on StackBlitz