Put in order · JavaScript and TypeScript course · Module 12: Functional Programming
Maybe Chaining Syntax
Arrange the elements of a Maybe chain for safely extracting data:
Items to put in order
- 'Unknown')
- .map(d => d.name)
- Maybe.of(data)
- .getOrElse(
You can check the correct answer by solving this task in the CodeWorlds game.