Answer the question
In order to leave comments, you need to log in
How to add object data to an array?
[{…}]
0: {id: 1, category: "Drive"}
length: 1
__proto__: Array(0)
[{…}]
0: {id: 2, category: "Drive"}
length: 1
__proto__: Array(0)
[{…}]
0: {id: 2, category: "Drive"}
length: 1
__proto__: Array(0)
how to add these arrays to a new array?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question