Spread vs Rest Operators in JavaScript: Expanding & Collecting Values
JavaScript has a nifty syntax — three little dots (...) — that does two completely opposite things depending on where you use it. In one context it expands values outward. In another, it collects valu
mahi-07.hashnode.dev5 min read