Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

IF else statement

var age=20;
if (age < 18) {
	console.log("underage");
} else {
	console.log("let em in!");
}
 
PREVIOUS NEXT
Tagged: #IF #statement
ADD COMMENT
Topic
Name
5+2 =