Question · JavaScript and TypeScript course · Module 12: Functional Programming
Functor
What must an object implement to be a functor?
Answer options
- A reduce() method
- A filter() method
- A map() method that allows transforming the value inside a container
- A toString() method
You can check the correct answer by solving this task in the CodeWorlds game.