An ESnext spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3. Read more