www.geeksforgeeks.org/what-is-the-rest-parameter-and-spread-operator-in-javascript/
1 Users
0 Comments
1 Highlights
0 Notes
Tags
Top Highlights
The rest parameter is converse to the spread operator. while the spread operator expands elements of an iterable, the rest operator compresses them. It collects several elements. In functions when we require to pass arguments but were not sure how many we have to pass, the rest parameter makes it easier.
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.