-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rest and spread solution #67
Comments
Look that in each version you are using They are indeed different, the exercise is call rest and spread because you are exercising on the Rest parameters and the Spread Operator. The The So both versions basically do the same, and you could theorize the |
Can someone comment on why ...args is necessary in the solution for ex 12 (rest and spread)? Why use that instead of a standard array?
i.e. the following two examples are equivalent. Why use one versus the other? Thanks!
...args version:
args version:
The text was updated successfully, but these errors were encountered: