Question:What will product output for the following JavaScript code fragment
var counter=50;
  while(counter>15){
     counter-=5;
  }
  document.write(counter);
 

A 15 

B 10 

C 0 

D no output 

+ Answer
+ Report
Total Preview: 1002

Copyright © 2024. Powered by Intellect Software Ltd