Lets get to the example.
The statement is basically saying if name equals Bob write Bob Curtis. Conditional Conditional operators are the syntax used to compare the two variables. If you are using several if statements to test the same variable and you want to include a choice that will be executed if none of the previous statements are true, you should use the else keyword. Sue , if it reaches the else keyword and none of the above if statements have been true Javascript executes whatever is after the else keyword.