[Solved] Typescript/Javascript array of Object of array to push


You can use reduce and concat in JS.

var arr =[[1,2,3],[4,5,6],[7,8,9]];

var newArr = arr.reduce((a,b) => a.concat(b));

console.log(newArr)

solved Typescript/Javascript array of Object of array to push