public/subjects/filter
davhojt bb81c93c2b docs(filter): correct grammar 2022-06-15 23:34:59 +03:00
..
README.md docs(filter): correct grammar 2022-06-15 23:34:59 +03:00

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 the reject function from lodash.

  • partition: that works like the partition 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

Notions