Created
January 20, 2012 02:06
-
-
Save MajorMokoto/1644541 to your computer and use it in GitHub Desktop.
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 i=0; | |
while (i<2) { | |
console.log("hello"); | |
i++; | |
} | |
//or? | |
var i = 0; | |
while ( i < 2 ) { | |
console.log( "hello" ); | |
i++; | |
} | |
//both work, but why are the spaces used? Makes more sense to me to not use spaces. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment