1// Great free online ebook for Javascript programming
2https://eloquentjavascript.net/
1/* Spread syntax ( ex. ...arrayName) allows an iterable such as an array expression or string
2to be expanded in places where zero or more arguments (for function calls)
3elements (for array literals) are expected, or an object expression to be
4expanded in places where zero or more key-value pairs (for object literals)
5are expected. */
6
7
8//example
9function sum(x, y, z) {
10 return x + y + z;
11}