Question:What will product output for the following JavaScript code fragmentvar counter=50; while(counter>15){ counter-=5; } document.write(counter);
var counter=50; while(counter>15){ counter-=5; } document.write(counter);
A 15 B 10 C 0 D no output
+ AnswerA
+ Report