control a for loop

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

I have a loop that counts to 50. But in this loop i want to stop when the counter is divided by 10 and starts counting again when a trigger happens. I've made a simple express-node app but I don't know how to handle this.

Node.js

Project ID: #16764468

About the project

6 proposals Remote project Active 5 years ago

Awarded to:

ashatat

I didn't get exactly what do you want to do, but if you add this condition it should work as you said if (i%10===0) break; anyway, why the condition ((is divided by ten?)), you can only count to ten why do you More

$10 USD in 1 day
(7 Reviews)
4.2
Pq678

Oh my God.... I can help you now itself... Only few changes have to be made.. Then it will run as your wish. Believe me sir. As soon as you provide me the project, I can give you the solution that time itself.

$10 USD in 1 day
(1 Review)
0.0

6 freelancers are bidding on average $19 for this job

mohanedmagdii

Hey Sir, I am interested in your project.I can help you with this loop and I am ready to start the work right now, and will deliver with good result to you. please send me a message so that we can discuss more

$25 USD in 1 day
(34 Reviews)
5.8
abdulbarikmb

Hi There, I am Sr. Node.js developer and can give your task done in 30 mins. Thanks, ~abdul

$25 USD in 11 days
(25 Reviews)
4.6
CreteTech

Hi In am an expert JavaScript coder. I can fix your loop to skip specific values. Contact me Thanks

$20 USD in 1 day
(0 Reviews)
0.0