if statement - test multiple conditions
As we have seen in a previous exercise, you can chain multiple expressions using logical operators. We can use this to test multiple conditions in one if-statement.The code below is missing 1 expression after the logical AND (
&&
) operator. Adjust the code so that the value of result will be true
.Premium
JavaScript
Console