DEV Community

loading...

Discussion on: Spread Syntax "Three-dots" Tricks You Can Use Now

Collapse
girlie_mac profile image
Tomomi Imura 🐱 Author

Yes, a good point! It doesn't recurse into nested arrays so it returns a new array with shallow copies.