Array.flat() in javascript
In this blog you will learn about Array.flat() or Array.prototype.flat() function. Introduction Array.prototype.flat() function introduced with ES2019. which you could use to flatten the arrays. This function actually