re: Understanding the Spread Operator in JavaScript VIEW POST


Nice article. Would you mind mentioning that the copy with the spread operator creates a shallow copy of the object and not a deep one.


Hey Birju, you're right. I try to keep these as simple as possible and sometimes overlook some of the more advanced concepts in favor of clarity. Will make a note, thanks

code of conduct - report abuse