
In JavaScript, the spread operator (...) expands values (breaks them apart), while the rest operator (...) collects values (packs them together). They look identical but behave oppositely depending on
Markdown supported · ⌘↵ to post
No responses yet.