Below is an excerpt from a Slack work rant from Feburary 4, 2020.
Over the last few weeks I have learned about some of the new additions to both ECMAScript 2019 and 2020 (for reasons!!!!) anyway, the following are relevant to an FP setting: flatMap flattens nested list structure then maps over the elements. Usage:
> let arr1 = ["Australia is", "on", "fire still"]; undefined