JavaScript 41 🧬 Spread operator
The spread operator (…) takes an iterable — an array, a string, a Set, a Map — or an object, and expands its contents into individual elements. It’s the opposite of the rest parameter, which collects values into an array. Same syntax, different purpose. Key point: Spread expands; rest collects. Both use …, and the…