Y
Hacker News
new
|
ask
|
show
|
jobs
by
rco8786
396 days ago
I wonder why the authors decided to make `flatten` only go one level deep, and have `flattenDeep` that goes N levels. AFAIK most other implementations of Array.flatten do it recursively through however many levels exist.