Rest Parameter and Spread syntax and their use-case
Rest syntax looks exactly like spread syntax. In a way, rest syntax is the opposite of spread syntax. Spread syntax "expands" an array into its elements, while rest syntax collects…
0 Comments
14th September 2020