Well, I’ve got this misconception of thinking that the spread operator is an alternative to JSON.parse() or Object.assign(). A couple of days ago, In one of my projects, I just tried to create a new object from the existing object, and to do that I used the spread operator. Based…