Comparison between using JS' native flatMap, a custom flatMap, and lodash's flatMap. Custom flatMap works with all Iterable types, so need to convert Map's to arrays before flatMapping.
Comparing performance of: Native JS flatMap vs Custom flatMap vs lodash flatmap