findLastIndex
flat
flatMap
Creates a new array with all sub-array elements concatenated recursively up to the specified depth.
array.flat(depth?): T[]