Using the ||
operator
in the if
condition,
check if the value of the
personName
variable is "Oliver"
or if the value of the
isAdmin
variable is false
.
If at least one condition is satisfied,
execute the if
code block.
Otherwise, execute the else
code block.