8000 Merge pull request #43 from abronkema/removeFromArray-README-update · codekacode/javascript-exercises@1d854ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d854ec

Browse files
authored
Merge pull request TheOdinProject#43 from abronkema/removeFromArray-README-update
updates function name to match exercise file
2 parents e2f4597 + 66c87fc commit 1d854ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

removeFromArray/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
Implement a function that takes an array and some other arguments then removes the other arguments from that array:
44

55
```javascript
6-
remove([1,2,3,4], 3) // should remove 3 and return [1,2,4]
6+
removeFromArray([1, 2, 3, 4], 3); // should remove 3 and return [1,2,4]
77
```
88

9-
10-
119
## Hints
10+
1211
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:
12+
1313
- how to remove a single element from an array
1414
- 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.
16-
- [Or this link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters).
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).
1716

17+

0 commit comments

Comments
 (0)
0