this isn't really flatMap it's more like internal concat
Apparently it removes "array holes" which I did not know was a thing until right now. Apparently `[1, , 2]` is a thing (and is not the same as `[1, undefined, 2]`)
-
-
yyeeeeaaahhh
-
the example I gave when this was being added to the lang is, what happens if you flatten [1, new Set([2, [3]]), 2, null, "hello"] I don't believe there's a well-defined answer to this question and I get tired just thinking about it
- 11 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.