Last active
January 16, 2016 12:22
-
-
Save dkundel/ec5e51b2c8f3a66799c3 to your computer and use it in GitHub Desktop.
MSDojoDublin-Node-Tutorial-Session-1
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
console.log('Hello World!'); |
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
console.log('Hello World!'); | |
for(var index = 0; index < 5; index++) { | |
console.log('Hello Dojo!'); | |
} |
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
console.log('Hello World!'); | |
var participants = ['Dominik', 'Philip'] | |
for(var index = 0; index < participants.length; index++) { | |
console.log('Hello Dojo!'); | |
} |
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
console.log('Hello World!'); | |
var participants = ['Dominik', 'Philip'] | |
for(var index = 0; index < participants.length; index++) { | |
var name = participants[index]; | |
console.log(`Hello ${name}!`); | |
} |
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
console.log('Hello World!'); | |
var participants = ['Dominik', 'Philip'] | |
for(var index = 0; index < participants.length; index++) { | |
var name = participants[index]; | |
var diceValue = Math.round(Math.random() * 6); | |
console.log(`Hello ${name} you threw a ${diceValue}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment