Merge pull request #41 from Uzay-G/patch-1

Added ...rest parameters as a link to deal with optional parameters
This commit is contained in:
Cody Loyd 2019-11-27 09:16:06 -06:00 committed by GitHub
commit 24b81e688e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -13,3 +13,5 @@ the first test on this one is fairly easy, but there are a few things to think a
- how to remove a single element from an array
- how to deal with multiple optional arguments in a javascript function
- [Check this link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments). Scroll down to the bit about `Array.from` or the spread operator.
- [Or this link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters).