When ... appears in a function parameter, it collects all remaining arguments into an array.
...
Challenge: Write sumAll(first, ...rest) that returns the sum of first plus all elements of rest.
sumAll(first, ...rest)
first
rest