Rest Parameters and Spread Syntax | W3Docs JavaScript Tutorial
JavaScript has a range of helpful features allowing developers to work with arrays and function parameters much effortlessly. In this chapter, the rest parameters and spread syntax are covered. The rest parameter gives you a robust way to work with an indefinite quantity of parameters.
https://www.w3docs.com/learn-javascript/rest-parameters-and-spread-syntax.html