Skip to content

Instantly share code, notes, and snippets.

@luckyduck
Created February 14, 2014 05:48
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 luckyduck/8996398 to your computer and use it in GitHub Desktop.
Save luckyduck/8996398 to your computer and use it in GitHub Desktop.
Basisvergleich
// Basisvergleich
var alter = 18;
if (alter < 18) {
document.write("Noch nicht volljährig, unter 18!<br>");
} else {
document.write("Volljährig! 18 oder älter!<br>");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment