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

236
Vistas
why type of Object is a function in javascript?

im having a hard time understanding why type of Object and even String and other data types is a function, is it a function constructor ?

console.log(typeof Object);
// function

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Try using this syntax instead....

console.log(typeof {}); // "object"
console.log(typeof new Object); // "object"

All object type constructor functions, when initiated with the new keyword will always have a type of “object”.

about 4 years ago · Juan Pablo Isaza Denunciar
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