0
There are several ways depends on what you want? as information if you want to filter by some value if you want to multiply.
the first cases are
const clients = [
{ id: 1, nome: 'Kushter 1' },
{ id: 2, nome: 'Kusther 2' },
{ id: 3, nome: 'Kusther 3' }
];
clients.forEach(item => {
console.log(item.id, item.nome);
});
for (key in clients) {
console.log(clients[key]);
}
See in the documentation of mozila have all the prototypes that can be used in an array just read a few minutes.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/prototype
Your question is strange, from what you can understand in the question, the question has more to do with
javascript
and how to use objects: see more– tadeubarbosa
Good for your question, from to see that you have no knowledge of the Javascript language, this is not an object is a array object. You will have to go through the array to get the values contained in the object, you can do using Javascript methods as a simple for, foreach or map for example.
– LeAndrade
OK thank you very much, I really started to know the javascript now, sorry for the confusing question, and thank you so much for the tips
– Junior De Souza