Skip to content

Instantly share code, notes, and snippets.

@dkundel
Last active January 16, 2016 12:22
Show Gist options
  • Save dkundel/ec5e51b2c8f3a66799c3 to your computer and use it in GitHub Desktop.
Save dkundel/ec5e51b2c8f3a66799c3 to your computer and use it in GitHub Desktop.
MSDojoDublin-Node-Tutorial-Session-1
console.log('Hello World!');
console.log('Hello World!');
for(var index = 0; index < 5; index++) {
console.log('Hello Dojo!');
}
console.log('Hello World!');
var participants = ['Dominik', 'Philip']
for(var index = 0; index < participants.length; index++) {
console.log('Hello Dojo!');
}
console.log('Hello World!');
var participants = ['Dominik', 'Philip']
for(var index = 0; index < participants.length; index++) {
var name = participants[index];
console.log(`Hello ${name}!`);
}
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}`);
}

Node.js Tutorial at the Microsoft CoderDojo in Dublin

Code snippets session 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment