News

Developers use statements to control the overall program flow, including variable declarations, conditional operations, and iterative processes. Here's how to write JavaScript statements.
To perform an operation conditionally, use an IF statement to test an expression. Alternative actions appear in a THEN clause and, optionally, an ELSE statement.
In this video, Saloni explains what an If/Else statement is. With the help of Scrat the Squirrel from Ice Age, she goes on to demonstrate how If/Else blocks can be used to program characters ...