Question:What will produce output for the following JavaScript code?total=10; for(i=1;i<5;i++){ if(i%2)continue; total+=i+2 } document.write(total)
total=10; for(i=1;i<5;i++){ if(i%2)continue; total+=i+2 } document.write(total)
A 20 B 28 C 23 D none
+ AnswerA
+ Report