Rest Parameter with Function Parameters
The rest parameter for function parameters was introduced in ES6 to help us create more flexible functions. The rest parameter syntax allows a function to accept an indefinite number of arguments. These arguments are stored in an array that can be ac...
developerabdullah.hashnode.dev1 min read