mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-24 15:00:31 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
478 B
478 B
Rest
The rest parameter syntax allows a function to accept an indefinite number of arguments as an array. It is defined by prefixing the last parameter with ..., such as function sum(...numbers). Unlike the arguments object, rest parameters are a true array and work with arrow functions.
Visit the following resources to learn more: