Reformatting Array Objects Javascript
I have an array of objects that looks like this: π§¨
[
{ apreciated_id: "123g1b1b23kbb3" },
{ apreciated_id: "asd567sad5a7sd" },
{ apreciated_id: "4hk3kjh234kjh4" }
]
But I want it to look like this: π¨βπ¨
["123g1b1b23kbb3", "asd567sad5a7sd", "4hk3kjh234kjh4"]
How can I do it? π Have a nice day! π
learnbydoing
- 519
- 2
- 7
- 16
lang-js