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

194
Views
How to get the n-th item of a javascript list

I'm working on something where I need to go through each item of a javascript list by number, get the name AND value of each item, and then do something with that. The list looks like this:

{"test-item-1": false, "test-item-2": false, "test-item-3": false}

I don't know what order the items will be in though, or even what items there are. So I have to find each item by number. Can anyone help me figure out how to do that?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

const array = JSON.parse(arrayJSON)
const item = array[n]
about 4 years ago · Juan Pablo Isaza Report
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!