For, While and Do While LOOP in JavaScript Part 4
How to use Loop? Loops are useful when you have to execute the same lines of code repeatedly until a specific condition is corrected. Suppose you want to type the message ‘Hello’ 100 times in your webpage. Of course, you have to copy and paste the same line 100 times. Instead, if you use a…