JavaScript - Logical operators Logical operators are used to check for multiple conditions. && - condition would be true if both the sub conditions must be true. || - condition would be true if any one of the sub conditions be true. ! - negation of a particular condition.