4 ms·
Maybe we should just make it common practice to do: Array.prototype.flatten = Array.prototype.flat Similar to "* { box-sizing: border-box; }" has become standa
by TheMiddleMan 4y ago
Maybe we should just make it common practice to do:
Array.prototype.flatten = Array.prototype.flat
Similar to "* { box-sizing: border-box; }" has become standard.
If they can't add an official .flatten for backwards compatibility now, we can assume they never will, right?