repo
replacements.fyi

// package

arr-flatten

type: "module"

// preferences

// replacements (1)

snippet::array-flatten

Simple or drop-in replacement

This package is no longer necessary. You can use `Array.prototype.flat` with `Infinity` as an argument to fully flatten an array.

// example

array.flat(Infinity);