Consider following code snippet:
 for (i=5; i<10; i++){ for (j=i; j<i+1; j++){ alert(j); } } 
How many times the alert box will display?
Explanation
Get an explanation when it's available:

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
JavaScript quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes