Created
March 24, 2015 07:48
-
-
Save ddeveloperr/7bccb52979c974714602 to your computer and use it in GitHub Desktop.
While JS
This file contains 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
var result = 1; | |
var counter = 0; | |
while (counter < 10) { | |
result = result * 2; | |
counter = counter + 1; | |
} | |
console.log(result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment