## Filter ### Instructions - Create a `filter` function that takes an array as first argument, a function as second, and that works like the method [].filter - Create a `reject` function that takes an array as first argument, a function as second, and that works like the reject function from lodash. - Create a `partition` function that takes an array as first argument, a function as second, and that works like the partition function from lodash. ### Notions - [devdocs.io/javascript/global_objects/array/filter](https://devdocs.io/javascript/global_objects/array/filter) - [lodash.com/docs/4.17.15#reject](https://lodash.com/docs/4.17.15#reject) - [lodash.com/docs/4.17.15#partition](https://lodash.com/docs/4.17.15#partition) ### Code provided > all code provided will be added to your solution and doesn't need to be submited. ```js Array.prototype.filter = undefined ```