flat & flatMap array methods

- UNOFF

Methods to flatten any sub-arrays found in an array by concatenating their elements.

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Edge

  1. 12 - 18: Not supported
  2. 79: Supported
  3. 80: Supported

Firefox

  1. 2 - 61: Not supported
  2. 62 - 73: Supported
  3. 74: Supported
  4. 75 - 76: Supported

Chrome

  1. 4 - 68: Not supported
  2. 69 - 79: Supported
  3. 80: Supported
  4. 81 - 83: Supported

Safari

  1. 3.1 - 11.1: Not supported
  2. 12 - 12.1: Supported
  3. 13: Supported
  4. 13.1 - TP: Supported

Opera

  1. 9 - 55: Not supported
  2. 56 - 65: Supported
  3. 66: Supported

iOS Safari

  1. 3.2 - 11.4: Not supported
  2. 12 - 13.2: Supported
  3. 13.3: Supported
  4. 13.4: Supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 80: Supported

Blackberry Browser

  1. 7: Not supported
  2. 10: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 46: Supported

Chrome for Android

  1. 80: Supported

Firefox for Android

  1. 68: Supported

IE Mobile

  1. 10: Not supported
  2. 11: Not supported

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 9.2: Not supported
  2. 10.1: Supported
  3. 11.1: Supported

QQ Browser

  1. 1.2: Not supported

Baidu Browser

  1. 7.12: Not supported

KaiOS Browser

  1. 2.5: Not supported
Resources:
MDN article on Array.prototype.flat
MDN article on Array.prototype.flatMap
Article on the history of the `flat` methods
Polyfill for flat & flatMap
Polyfill for this feature is available in the core-js library