This function simply receives two values as arguments and returns their summation value. Here, as we didn't provide the value for the second parameter in the argument, it takes the default value for ...
What is The Rest Parameter ? The rest parameter in JavaScript allows a function to accept an indefinite number of arguments as an array. It is represented by three dots (…) followed by the parameter ...