var i = 1;
while(i < 4)
{
console.log(“loading…”);
};
Because i is staying at one. You are not incrementing i inside of the while loop, so it won’t stop because i is staying 1.
3 Likes
Ahh, I see. Thanks very much.
1 Like