Created
May 5, 2017 11:19
-
-
Save DirtyF/700799313d974bb36a806d3622b22b47 to your computer and use it in GitHub Desktop.
Tirage au sort pass Sud Web 2017
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
const participants = [ | |
"cecilehabran", | |
"simoncaule", | |
"Avelka", | |
"a_lamirault", | |
"L_Demontiers", | |
"Cabaroc", | |
"rmostz", | |
"bndctlambert" | |
]; | |
var gagnant = participants[Math.floor(Math.random() * participants.length)]; | |
console.log("Le gagnant est : @" + gagnant); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ node tirage_au_sort.js Le gagnant est : @simoncaule