Spread vs Rest Operators in JavaScript
The ... syntax is like a magical container. Depending on the context, it either opens the container to spill the contents out or gathers loose items to put them back into a container.
1. The Spread Op
blog.harshdotexe.me3 min read