I have an object:
const data = {
1: "apples",
2: "bananas",
3: "cherries"
}
I want to run through this items and use them in rendering JSX. If it was typical array I would use map() but now it gives me an error :
"Property 'map' doesnot exists..."
what can I do in this case? thank you in advance