The three dots ( … ) are used in a function’s declaration as a parameter . These dots allow zero to multiple arguments to be passed when the function is called. The three dots are also known as var args .
The three dots ( … ) are used in a function’s declaration as a parameter . These dots allow zero to multiple arguments to be passed when the function is called. The three dots are also known as var args .