Spread vs Rest Operators in JavaScript
Let's make destructuring , copy, merging... easy with spread and rest operator in easy way.
What spread operator does
It helps to spread out the element of array and object.
const arr1 = [1, 2, 3];
co
amitdewanganblog.hashnode.dev2 min read