Avoid Object Mutations
OlivierCo opened this issue · comments
Maybe you mix-up something between ES5 and ES6 and ES7. or maybe i'm wrong.
To avoid object mutations, we should use Object.assign() in ES6 and the spread operator in ES7 ...
this should be:
To avoid object mutations, we should use Object.assign() in ES5 and the spread operator in ES6 ...
Thanks @OlivierCo! These are personal notes for myself, but fixed them based on your suggestion!