I have an array with number data and I need to target the value of the object which is inside an array.
An example to make it clear, here is the data:
[
{1: 'one'},
{2: 'two'},
{3: 'three}
]
I'm reducing it to get the one I want, so I'm left with [{3: 'three'}].
Now how to I get the 'three' string?
Many thanks