Spread And Rest Operator
Leave a reply
In Javascript, both the spread and rest operators have the same syntax which is three dots(…) but they differ in their function. The main difference between them is that the spread operator expands the array into multiple elements while the resting operator Condenses them into a single element Merge two arrays using the spread operator Continue Reading »