8000 Merge pull request #342 from TheOdinProject/bycdiaz-patch-2-1 · amcollie/javascript-exercises@311ae2f · GitHub
[go: up one dir, main page]

Skip to content

Commit 311ae2f

Browse files
Merge pull request TheOdinProject#342 from TheOdinProject/bycdiaz-patch-2-1
Adds hint to exercise
2 parents 5f7e20f + f682844 commit 311ae2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

04_removeFromArray/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ removeFromArray([1, 2, 3, 4], 3); // should remove 3 and return [1,2,4]
1010

1111
The first test on this one is fairly easy, but there are a few things to think about(or google) here for the later tests:
1212

13+
- you can manipulate the original array you pass into the function call or create a new array that is returned as the result.
1314
- how to remove a single element from an array
1415
- how to deal with multiple optional arguments in a javascript function
15-
- [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).
16-
16+
- For more information, check out MDN's page on [function arguments](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments) - scroll down to the bit about `Array.from` or the spread operator. You can also check out MDN's page on [rest parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters).

0 commit comments

Comments
 (0)
0