DEV Community

Discussion on: Demystifying Array.prototype.flat

Collapse
 
laurieontech profile image
Laurie • Edited

That's what the final example is for :)

arr.flat(Infinity)