I have created json array like this,
data = [{ product_id: 1, manufacturer: 'man1', product: 'test1' },
{ product_id: 2, manufacturer: 'man2', product: 'test2' }]
I want to list this data in tabular format without using key name. I have tried like,
for(i=0; i<data.length;i++){
console.log(data[i].product_id+","+data[i].product+","+data[i].manufacturer);
}
Its working fine. But I want to display values without specifying key name like, .product_id
,.product
etc..Is it possible in javascript? Could you please support me to resolve this?