Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

IF Statement

if(Boolean_expression) {
   // Statements will execute if the Boolean expression is true
}
If the Boolean expression evaluates to true then the block of code inside the if statement will be executed. If not, the first set of code after the end of the if statement (after the closing curly brace) will be executed. 

Source by sites.google.com #
 
PREVIOUS NEXT
Tagged: #IF #Statement
ADD COMMENT
Topic
Name
8+7 =