Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #14 from bpd01001/feature/new-js-interview-question
Added a new JS section question
  • Loading branch information
bpd01001 committed May 12, 2020
2 parents 0b331be + 40802b5 commit 1ecdae3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
@@ -0,0 +1,5 @@
A while loop will only begin to execute if the conditional statement in the while statement is true.

A do while loop will always execute its contents at least once, regardless of whether the conditional statement is true.

In other words, a while loop checks the conditional statement at the beginning of the loop, while a do while loop will check the statement at the end.

0 comments on commit 1ecdae3

Please sign in to comment.