
Rest and Spread operators in JS
By placing … before the arrayname as you are passing the array as a argument when calling a function, you can split an array up so the function will see each array value as different arguments. By placing … before an parameter in the function declaration, values that get sent when calling the function gets …
October 19, 2020
JavaScript