Logical OperationsUsing booleans in logic. Logical Operations Booleans are the basis for all JavaScript comparisons and conditions. The value of a comparison is always a Boolean. Examplelet x = 10; let y = 9; console.log(x > y); // trueTry it Yourself PreviousNext