Skip to content

Instantly share code, notes, and snippets.

@yaron-idan
Created April 30, 2016 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaron-idan/1107bf62fc71952c23b72b9d262560f1 to your computer and use it in GitHub Desktop.
Save yaron-idan/1107bf62fc71952c23b72b9d262560f1 to your computer and use it in GitHub Desktop.
function can_bono_live(bono) {
var withyou = "with"
var without = "without"
if (!(bono === withyou || bono === without)) {
console.log("bono can live");
}
else {
console.log("bono can't live");
}
}
can_bono_live("with");
can_bono_live("without");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment