How do I Loop multiple functions using the for loop in JavaScript
By
rowdyjosh02
in Programming
in Programming
Go to solution
Solved by PurpleCodes,
for(let i = 0; i < 10; i++){ console.log( Word1() + " " + Word2() + " " + Word3() + " " + Word4()); }
If you want to run the log 10 times you would do something like this. Anything you put inside a for loop will run as many times as the for loop runs.
-
Topics
-
Playgb2 ·
Posted in Troubleshooting1 -
1
-
1
-
5
-
0
-
kasdashd ·
Posted in Folding@home, Boinc, and Coin Mining0 -
2
-
6
-
Ishikudeska ·
Posted in New Builds and Planning2 -
0
-
-
play_circle_filled
Latest From ShortCircuit:
The coolest looking monitor. Period. - ASUS ROG display at Computex (Sponsored)

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now