Rest parameters in JavaScript give you the ability to accept an array as a parameter in a function, but call it using an arbitrary number of arguments. This is kind of the reverse of the spread operator.
If you learned something today
60 second software development tutorials and demos, and short blog posts.
60 second software development tutorials and demos, and short blog posts.