I currently have an array of objects which is the following.
[
{ desc: '1', qty: '2', amt: '1', index: 0 },
{ desc: '1', qty: '2', amt: '1', index: 1 }
]
I need to turn this array of objects to something like that
[
['1','2','1',0 ],
['1','2','1',1]
]
Any ideas?
{}you can have[]for each elements.