Spread vs Rest Operators in JavaScript
Both operators are written as three dots — ... — yet they do completely opposite things depending on where you place them. This single syntactic choice led to one of the most common points of confusio
blog.xpvishal.dev6 min read