Created
February 9, 2017 18:56
-
-
Save joeygreen/79ef6c356a86c55dea538263cff9c8f6 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 g = 'Galileo'; | |
for (i = 0; i < 5; i++){ | |
if (i % 2 == 0) { console.log(g.toUpperCase()); } | |
else { console.log(g.toLowerCase()); } | |
if (i == 4) { console.log("Figaro!"); } | |
}; | |
console.log('Magnifico!'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment