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

[ad_1]

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)

[ad_2]

solved Typescript/Javascript array of Object of array to push