Using map method on an array that contains another array [duplicate]

So say i have an Array that contains two Arrays so what i want is to use the map method but not like in the traditional way:

const array = [[1,3,5],[2,4,6]];

// use map method to output [1,2,3,4,5,6]

could i achieve that?