JavaScript rest parameters for beginners
The rest operator (...) is a way to represent an indefinite number of arguments as an array in a function definition. It allows you to represent an indefinite number of arguments as an array, so that you can access them like an array in your function...
waiswajbryans.hashnode.dev3 min read