As you can see above, Variable number is declared to store value of 5. This value is than used in if statement to see if it is divisible by 2. If it is divisible by 2, than is will populate alert statement from the IF Statement. If it is not divisble by 2, than it will populate alert statement from Else statement.
Try differrent values and see what statement is shown on the alert box.