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?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
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?