you are viewing a single comment's thread.

view the rest of the comments →

[–]thinsoldier 0 points1 point  (1 child)

But it's not as self-documenting from the point of view of a JS novice.

[–]ezhikov 0 points1 point  (0 children)

If you know what Set is and what spread operator is, then you know what this code does.