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 .
Read moreWhat do three dots mean in React?
The three dots (…) notation referred to as the Spread syntax has been part of React for a long time when it could be used via transpilation, although, it has been made a part of JavaScript as part of the ES2015 syntax.
Read more