Rest Operator collects values
into a single value. On the other hand,
a spread operator expands the values of
an iterable into parts.
Here, the rest operator, is a function parameter
that collects all additional arrays passed to
mergeAndSum into a single array.
The spread operator combines the firstArray
with the collected otherArrays
into a single array.