GUVI
Back

javascript

Created 3 years ago
58 Views
2 Comments
Rahul-B3PBp0Vs
@Rahul-B3PBp0Vs
Rahul-B3PBp0Vs
@Rahul-B3PBp0VsProfile is locked. Login
can anyone explain

var g=1;
do
{
console.log("guvi");
}
while(g<=1)
How many times guvi will be printed?

how answer will be infinite loop, it should be 2,

can anyone explain?

Comments (2)
Please login to comment.
 
Powered by habitate.io Habitate