Skip to content
Advertisement

How to map through array of objects to extract objects value?

i am trying to map through an array of objects to extract some value from each object.

When i run my code i am getting a result of undefined on console.log(open) but get all the data get log for the console.log(data)

Can someone tell me why is it undefined or what is wrong in my code?

thanks in advance

JavaScript

Data

JavaScript

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement