Closed pierresegonne closed 3 years ago
I think you can use [].concat(...array):
https://medium.com/@mwalterspieler_31762/es6-flatten-an-multi-dimensional-array-bfc6abb930c
Is the "flatten" part supposed to be committed? Doesn't seem like it's used anywhere, right?
Found a work around (remembered about the beautiful existence of lodash!) I am currently testing it
The flatten part is a polyfill, .flat is still experimental in JS so sometimes it works, sometimes it does not
@madsnedergaard this will need to be merged before running the integration on production for bloom
Resolves https://github.com/tmrowco/tmrow/issues/3483