Skip to content

Commit 05aec66

Browse files
author
sunjieming
committed
Update instructions
1 parent b9688a9 commit 05aec66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/arrays.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Complete the following functions.
22
// These functions only need to work with arrays.
3-
3+
// Do NOT use the built in array methods to solve these. forEach, map, reduce, filter, includes, etc.
4+
// You CAN use concat, push, pop, etc. but do not use the exact method that you are replicating
45

56
const each = (elements, cb) => {
67
// Iterates over a list of elements, yielding each in turn to the `cb` function.

0 commit comments

Comments
 (0)