Created
September 14, 2018 05:11
-
-
Save jerzyyy/bd6ef8c2b3e900bbf9f96c1f1d70dd63 to your computer and use it in GitHub Desktop.
patates
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 reponse = prompt("Hey mon ami ! Tu aimes ça les patates ?"); | |
let a = `` | |
if (reponse === "oui") { | |
for (i = 0; i < 7; i++) { | |
a = a + '#' | |
console.log(a); | |
} | |
} else if (reponse === "non") { | |
alert(`dommage`); | |
} else { | |
alert(`Je vous sens comme tiraillé`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment