5.4.1. if Statements
/*The condition in an if statement can be any boolean expression, such as name === 'Jack' or points > 10 (here, name and points are variables). Additionally, the code block associated with a conditional can be of any size. This conditional has a code block with two lines of code:*/ if (num % 2 === 0 && num > 3) { console.log(num, "is even"); console.log(num, "is greater than 3"); } /*While not required, the code within a conditional code block is typically indented to make it more readable. Similarly, it is a common convention to place the opening { at the end of the first line, and the closing } on a line of its own following the last line of the code block. You should follow such conventions, even though ignoring them will not create an error.*/