_mercury πŸ‡΅πŸ‡Έ_
Reactifluxβ€’4y agoβ€’
9 replies
_mercury πŸ‡΅πŸ‡Έ

_mercury – 00-31 Sep 2

I have an array of objects ==> Object like photo
{value:123, label: 'foo'}

I want to use
array.map 
to get only the value and rename the key to
id
?
Screen_Shot_2022-09-02_at_2.29.42_AM.png
Was this page helpful?