We can use the spread operator again. However, when we use it like this, it changes name and becomes the “rest operator”:
I think the important point here is that you're not using the spread operator again. :)
It's a different bit of syntax (not an operator, per se) that happens to look a bit similar.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think the important point here is that you're not using the spread operator again. :)
It's a different bit of syntax (not an operator, per se) that happens to look a bit similar.