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:
commit
24b81e688e
1 changed files with 2 additions and 0 deletions
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in a new issue