Created
May 14, 2014 21:21
-
-
Save carlosrojaso/389ebf80b7b832f8082b to your computer and use it in GitHub Desktop.
JS do while
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do { | |
// Even though the condition evaluates to false | |
// this loop's body will still execute once. | |
alert( "Hi there!" ); | |
} while ( false ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment