Flatten a nested array

Flatten arrays to a given depth without Array.prototype.flat.

Loading NamasteScale