I have a array like this:
let arr = [
{
index: 1,
price: "24.99"
},
{
index: 2,
price: "24.95"
},
{
index: 3,
price: "20.95"
},
]
I want only the prices now in the array like this:
let arr = ["24.99", "24.95", "20.95"]
How I make this ?