-
-
Save hiun/10150167 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 hometown = "where is your hometown?" | |
if (hometown = "california") { | |
var sf = "have you been to san francisco?" | |
if (sf = "yes") { | |
var apple = "have you been to apple inc?" | |
if(apple = "yes") { | |
var ceo = "did you met Timothy Cook?" | |
if(ceo = "yes") { | |
alert("congrat"); | |
} else { | |
alert("sad") | |
} | |
} | |
} | |
} else { | |
var f = "what is famouse in your homewotn?" | |
if (f = "" || f != "") { | |
alert("by"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment