This comment is hidden because it contains spoiler information about the solution
Ok, I get it. Thank you very much for your explanation
Thanks for this explanation!
I tried to use this code in a browser (outside codewars environment) and I got this: Uncaught SyntaxError: Unexpected token ... Could you explain how ...args works, please? Thanks in advance!
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Ok, I get it. Thank you very much for your explanation
Thanks for this explanation!
I tried to use this code in a browser (outside codewars environment) and I got this:
Uncaught SyntaxError: Unexpected token ...
Could you explain how ...args works, please?
Thanks in advance!