Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

111
Views
Imported Array with react map function but `undefined`
Object: 
    Info: Array(2) 
        0:
               > minsuInfo: Array(2) 
               
                 0: 
                    > dailyValue(2) :
                       0: Status: 20%
                       1: Status: 40% 
                    
                 1:  
                    > dailyValue(2):        
                       0: Status: 40%
                       1: Status: 15%

         1:  
                   > minsuInfo: Array(2) 
                 0: 
                    > dailyValue(2) :
                       0: Status: 60%
                       1: Status: 10% 
                    
                 1:  
                    > dailyValue(2):        
                       0: Status: 40%
                       1: Status: 55%
const apple = Info.minsuInfo.map(array => array.dailyValue.Status) 

return (
<div>
<p>{apple}</p> // undefined 
</div>
)

I want to print all Status values.
const apple = Info.minsuInfo.map(array => array.dailyValue.Status)

I expected this.
console.log(apple) // 20% 40% 40% 15% 60% 10% 40% 55%

But now I get undefined .
console.log(apple) // undefined

How should I modify the code?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!