Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Conditional Statements in JavaScript
There is a famous computer science theorem, the "Boehm-Jacopini Structured Programming Theorem," which holds that all programs can be generated using only three programming constructs:
- A sequence - which is just one statement after another.
- A branch - such as an if statement.
- A loop - such as a while or for loop.
A sequence is easy to understand, as one statement ...