Files
developer-roadmap/roadmaps/javascript/content/rest@-_6q0bIjQrvAaCWrVkASO.md
T
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

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: