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