1
I have an array of objects and I’m not being able to push a certain object, example I want to push the titulo2 id but nothing I did worked out, follow the structure of the array if someone knows how to do thank
Objt =
[{ titulo1:
[
{
id: id
}
],
titulo2:
[
{
id: id
}
]
}]
You want to add a new item next to
id
?id: id, outracoisa: valor
– Sam
this when I push add another id to the object, e.g.: title1: [{id:1}, {id:2}, ...]
– Juliano Souza