DEV Community

Discussion on: Day 8 Learning Javascript

Collapse
 
saninnovator profile image
santhosh neerumalla

I will try to help you on the while vs do-while. do-while starts without any condition check, it means that first iteration always happens in do-while and while checks the condition before any iteration begins.I hope it helps

Collapse
 
amberchisholm profile image
amberchisholm

Yes, that helps. Thank you. I did some more research on loops and finally found a couple of articles that explained it in a way that makes sense. So, I'm not so lost any more!