Learn JavaScript
Rest and Spread
27.2 - Ex 1
Exercise

Spread operator

The multiply function returns the product of two numbers. We have an array input, which stores the two numbers.

Using the spread operator, pass the items of input as parameters to the multiply function.