Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.