Javascript: flatMap

Rating: 3

The flatMap() method does the equivalent of calling map() followed by flat(1).

More Info