Spread vs Rest Operators in JavaScript
The spread and rest operators are powerful features introduced in ES6 that use the same syntax (...) but serve completely different purposes.
Both are written with three dots ... which is exactly why
blog.rohitchornele.online6 min read