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

248
Vistas
How to get input in a for loop in Node.js with only using the inbuilt methods?

I am trying to get multiple input and process them in the for loop. For Example -

for(let i = 0; i < 10; i++) {
    input = how to get this is my question 
    if(input % 2 == 0) {
        console.log('YES');
    } else if(input % 2 == 1) {
        console.log('NO');
    }
}

So this is the method I wanna take the input and process it I wanna use node.js methods and without "await" as it causes some issue in non-high level Module.

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