A
A
Alex Terechenko2020-08-11 18:44:22
Angular
Alex Terechenko, 2020-08-11 18:44:22

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 question

Ask a Question

731 491 924 answers to any question