Spread vs Rest Operators in JavaScript
Introduction
JavaScript's Spread & Rest Operator look identical. Both are three dots (...). But they do opposite things depending on where you put them.
One expands values out. The other collects valu
blog.sameerbhagtani.dev5 min read