Spread and Rest Operators in JavaScript: Expanding and Collecting Values
Two of the most useful features introduced in ES6 share identical syntax: three dots (...). One expands values out. The other collects values in. Understanding which is which — and where each one appl
blogs.arnabsamanta.in11 min read