Menu Home

while / do…while

Hi everyone, and welcome to another exciting edition of Boring JavaScript. Our video this week focuses on the ‘while’ command and its cousin, the ‘do…while’ pattern. Both are great for having complete control in looping over an iterable (for instance, an Array), but they differ just enough that if you’re not careful, you can throw errors every which way from Sunday. Open up the video and find out the important differences between the two.

Shameless Plug

Check out all our videos at:

Github Repository:

Check out everything at:





Categories: Boring JavaScript Javascript

Tagged as:


Web Tinkerer. No, not like Tinkerbell.

Creator of the game Virtuoid. Boring JavaScript. Visit us at

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: