Open Source

Conditional Statements

24 Mar , 2013  

You can start building more complex JavaScript statements by using conditional code. The conditional code allows you to ask if a condition is met. In JavaScript we have the following conditional statements: 1. if statement – This statement to execute some code only if  a given condition is true, 2. if…else statement – This statement to execute some code if the condition is true […]

, , , , , , , , ,