Put in order · JavaScript and TypeScript course · Module 12: Functional Programming
flatMap Syntax on Maybe
Arrange the elements of a flatMap call on Maybe:
Items to put in order
- transform(value)
- maybe
- )
- value =>
- Maybe.of(
- )
- .flatMap(
You can check the correct answer by solving this task in the CodeWorlds game.