I would like to create on JavaScript an object of one array (line_items_object) that contains objects with a for loop like this structure:
var data = {
line_items_object: [
{
id: 8111696
},
{
id: 8111688
}
]
};
How can I do that?
idcome from in this loop?