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)
 

A 20 

B 28 

C 23 

D none 

+ Answer
+ Report
Total Preview: 853

Copyright © 2024. Powered by Intellect Software Ltd