while loop को create करने के लिए 3 step को follow करना पड़ता है
initialization value
while(condition){
//your Statement(s);
}
<script>
var a = 1;
while(a<=11){
document.write("Hello Teach Coders <br>")
a++;
}
</script>
Hello Teach Coders
Hello Teach Coders
Hello Teach Coders
Hello Teach Coders
Hello Teach Coders
Hello Teach Coders
Hello Teach Coders
Hello Teach Coders
Hello Teach Coders
Hello Teach Coders
Hello Teach Coders