10000 Merge pull request #41 from Uzay-G/patch-1 · codekacode/javascript-exercises@24b81e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24b81e6

Browse files
authored
Merge pull request TheOdinProject#41 from Uzay-G/patch-1
Added ...rest parameters as a link to deal with optional parameters
2 parents 99e3fa2 + 46a36d8 commit 24b81e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

removeFromArray/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ the first test on this one is fairly easy, but there are a few things to think a
1313
- how to remove a single element from an array
1414
- how to deal with multiple optional arguments in a javascript function
1515
- [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.
16+
- [Or this link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters).
17+

0 commit comments

Comments
 (0)
0