## Mapper ### Instructions - Create a `map` function that takes an array as first argument, a function as second, and that works like the method .map - Create a `flatMap` function that takes an array as first argument, a function as second, and that works like the method .flatMap ### Notions - https://devdocs.io/javascript/global_objects/array/map - https://devdocs.io/javascript/global_objects/array/flatmap ### Code provided ```js Array.prototype.map = undefined Array.prototype.flatMap = undefined Array.prototype.flat = undefined ```