Logical operators - logical OR
Another way to chain multiple comparison operators is the logical OR (
||
) operator. In the code below, result will have the value true
if either of the comparison expressions evaluate to true
.Adjust the code below such that result will have the value true
.Premium
JavaScript
Console