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

151
Views
There are 2 variables with same name on the same scope Javascript

I included the video where I debugged it. the item object has status property's value when I hover on it. But when I access status value by item.status. It shows undefined. The same thing happened for other properties as well

I saw it on the local scope. There are 2 variables named item. One with the correct value and another one with undefined value

It is so weird and should never happen. Could you guys help me out with this issue?

enter image description here

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!