ES6 – Rest parameter

Hi, the rest parameter syntax is “…” and is an Array type, the rest parameter contains the rest of the parameters of a function when number of arguments exceeds the number of named parameters. Here an example of how use the rest parameter: Result: Ok, maybe you are asking yourself: “…” is called Spread Operator … Continue reading ES6 – Rest parameter