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

246
Views
It returns undefined :( How can i get the value i want from the array

Here i have an array, im trying to get a value from it, but it returns undefined, i don't know why.

var datos = [
    [['Español'][89,76,90,87]],
    [['Desarrollo Web'][94,91,90,96]],
    [['Matemáitca'][79,83,84,82]],
    [['Inglés'][87,89,93,92]],
    [['Programación'][75,73,77,71]],
    [['Seguridad Informática'][79,83,92,85]],
    [['Análisis de datos'][72,71,75,73]],
    [['Ineligencia Artificial'][80,83,80,81]],
    [['Desarrollo de Video Juegos'][88,92,94,93]],
    [['Desarrollo de aplicaciones'][92,95,96,94]]
];
console.log(datos[2][1][3]);

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

0

You are missing the commas between your arrays:

var datos = [
    [['Español'],[89,76,90,87]],
    [['Desarrollo Web'],[94,91,90,96]],
    [['Matemáitca'],[79,83,84,82]],
    [['Inglés'],[87,89,93,92]],
    [['Programación'],[75,73,77,71]],
    [['Seguridad Informática'],[79,83,92,85]],
    [['Análisis de datos'],[72,71,75,73]],
    [['Ineligencia Artificial'],[80,83,80,81]],
    [['Desarrollo de Video Juegos'],[88,92,94,93]],
    [['Desarrollo de aplicaciones'],[92,95,96,94]]
];
console.log(datos[2][1][3]);

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!