You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, flatMap and flat are added to Array in ES2019. In which form they should be added to this proposal? What they should flatten - sets, arrays, iterables?
The text was updated successfully, but these errors were encountered:
I'm not sure if there is any intuitive semantics for Map.prototype.flatMap and Map.prototype.flat. Set.prototype.flatMap is quite obvious, I will add it.
So,
flatMap
andflat
are added toArray
in ES2019. In which form they should be added to this proposal? What they should flatten - sets, arrays, iterables?The text was updated successfully, but these errors were encountered: