forked from root/public
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
…
|
||
---|---|---|
.. | ||
README.md |
README.md
Filter
Instructions
Create the following functions, which each take an array as the first argument, and a function as the second argument.
-
filter
: that works like the[].filter
method. -
reject
: that works like thereject
function from lodash. -
partition
: that works like thepartition
function from lodash.
Code provided
The provided code will be added to your solution, and does not need to be submitted.
Array.prototype.filter = undefined