DEV Community

Discussion on: Demystifying Array.prototype.flat

Collapse
 
rhymes profile image
rhymes

It make sense, flat(N) means I have to know exactly how many levels of nesting there are. We're lazy, Infinity should have been the default :P