Condition

By: Dusty Arlia
Published on October 23, 2012
Last Updated on Monday, July 06, 2015 at 2:43 PM
Total Updates: 3

Conditions evaluate one or more values, variables, and/or expressions. After the JavaScript interpreter evaluates the condition, the result will be either a true or false Boolean value. If the condition is true, the code between the curly braces ({}) is executed. If the condition is false, the code between the curly braces is skipped. You can remember this by the saying "true, do".

Comments:

Ad: