I have successfully implemented an array filter using JavaScript and lodash. I am now looking to combine arrays of arrays into a single array. Can anyone provide guidance on how to achieve this?
Sample Input
const inputData = [
[
{ 'Tempe(C)': 12 },
{ 'Tempe(C)': 13 },
{ 'Tempe(C)': 14 },
{ 'Tempe(C)': 15 }
],
[
{ 'Tempe(C)': 22 },
{ 'Tempe(C)': 23 },
{ 'Tempe(C)': 24 },
{ 'Tempe(C)': 25 }
],
[
{ 'Tempe(C)': 32 },
{ 'Tempe(C)': 33 },
{ 'Tempe(C)': 34 },
{ 'Tempe(C)': 35 }
],
];
Desired Output Structure
const outputData = [
[12, 13, 14, 15],
[22, 23, 24, 25],
[32, 33, 34, 35],
];