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

README.md

Mapper

Instructions

  • Create a map function that takes an array as the first argument, a function as second, and that works like the method .map

  • Create a flatMap function that takes an array as the first argument, a function as second, and that works like the method .flatMap

Code provided

The provided code will be added to your solution, and does not need to be submitted.

Array.prototype.map = undefined
Array.prototype.flatMap = undefined
Array.prototype.flat = undefined

Notions