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

150
Views
Javascript para principiantes, calculando el resto de una división

Estoy aprendiendo javascript y algo que no he entendido bien es porque el resultado de esta operación es igual a 1.

Calculando el módulo, ¿no debería ser 7?

 var mynumber = 11; alert(mynumber % 2);
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Módulo % es la división restante.

2 cabe en 11 cinco veces y sobra 1.

también conocido como 11 = 5 * 2 + 1

Es posible que desee un repaso en el módulo

about 4 years ago · Santiago Trujillo 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!