Learn JavaScript
Logical Operations
15.1 - Ex 1
Exercise

AND

Use && in the if condition to confirm that personName stores Sam Smith and isAdmin stores true.

If both the conditions are satisfied, show the message in the first console.log()statement. Otherwise, show the message in the second console.log()statement.