Struggling with extracting data from another object.
The information provided is not in English, but that shouldn't be an issue.
[
{
productName: 'Data Sharer',
itemNumber: 'TESZOR 61.20.42',
unit: 'month',
quantity: 1,
netUnitPrice: '543.30',
netPrice: '543.30',
vatRate: 5,
vatValue: '27.16',
grossPrice: '570.46',
id: 1,
},
// more data arrays...
];
The problem arises when attempting to extract the data under "productName"
[ "Data Sharer", null, null, "Car Card" ]
I suspect the issue lies within the nested array causing unexpected "null" values, but I have been unable to resolve it after multiple attempts.
Any assistance would be greatly appreciated!