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

188
Vistas
how to solve async problem in javascript ( MVC pattern. )

there is a problem with asynchronous processing, but I don't know how to solve it.

I was working on the MVC pattern.

The controller should receive the model and hand over the data to the view, but the data received from the model is displayed as undefined.

here is code.

controller

enter image description here

model

enter image description here

when console.log(model)

enter image description here

If it is OK, the data should be in the list.(in this.#list)

but But as you can see, it is Array(0)

I don't know how to solve it. I spent 2 to 3 hours. please help!

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