8000 updates function name to match exercise file · NoderCoder/javascript-exercises@6f30194 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6f30194

Browse files
committed
updates function name to match exercise file
1 parent cc479b5 commit 6f30194

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

removeFromArray/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
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.
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.

0 commit comments

Comments
 (0)
0