🚀 It bundles the passing arguments into an array.
😮 It allows calling a function with any number of arguments.
🤩 It helps where you are not sure about the number of arguments.
😲 It appears as an ellipsis (...) in the function definition.
😱 It is different from spread operator
Quick Note:
🤯 It must be the last formal parameter.
😎 You can also call it a rest operator.
Example:
Video Tutorial:
Share with others: