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
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.