1. flat & flatMap array methods

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

  2. javascript built-in: array: flatmap