0
Example of... (Spread operator) in JavaScript
What are the real-time examples of spread operator in js
2 Respuestas
+ 1
Whenever you want to copy any object or an array we use spread operator..
Since with spread we copy the original array or object so we don't mutate the original ones
+ 1
paperinflames it is very helpful when you uses immutable js libraries like redux. It is very helpful when you can modify state directly.