Maps the input iterator to a new value R and flattens any resulting iterables or iterators by a depth of 1.
Behaves the same as Array.prototype.flatMap.
Strings returned from iteratee are not flattened into characters. Return an array (e.g. [...str]) when you
want character-level results.
Maps the input iterator to a new value
Rand flattens any resulting iterables or iterators by a depth of 1. Behaves the same asArray.prototype.flatMap.Strings returned from
iterateeare not flattened into characters. Return an array (e.g.[...str]) when you want character-level results.