learnwithparam.com
Do you know spread operator in Javascript object is mutable?
6
Spread operator becomes the defacto solution for creating immutable object in javascript. But make sure to have the caution, spread operator does mutate objects in specific cases. We will see it briefly. Read full article