So, I have an array full of full of arrays of one object
[[{id: 0, name: example1}], [{id: 1, name: example2}], [{id: 2, name: example3}]]
What I'm trying to do is to merge all of these array and make them look like this
[{id: 0, name: example1}, {id: 1, name: example2}, {id: 2, name: example3}]
I tried using concat but it still not working
let a=arr[0], b=arr[1], c=arr[2]
let d = a.concat(b,c)
console.log(d)
the arrays are still there