Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

82
Vistas
the console isnt printing the array in my javascript code

I am beginner in JavaScript and I'm trying to log an array, but in the console, it shows me something different. here is the code:

var cars = ["Ferrari", "Lamborghini", "Porsche"];
console.log(cars);

and here is what is see in the console:

Array(3)
0: "Ferrari"
1: "Lamborghini"
2: "Porsche"
length: 3

Why isnt it printing the whole array but printing these things? help please. thanks

[[Prototype]]: Array(0)
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda