Posted injavascript json
Does Javascript (…) spread operator copy recursively!
No, the JavaScript spread operator (...) does not perform a deep (or recursive) copy of objects or arrays. Instead, it creates a shallow copy. Here’s a breakdown of what that…