Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

IF else statement

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