The logical OR operator (||) can also be used to combine the same boolean value twice. If the value is true, the result will be true; otherwise, it will be false.
congrats on reading the definition of a || a. now let's actually learn it.
Logical OR operator (||): Combines two boolean values and returns true if at least one of them is true.
Boolean value: A data type that can have one of two possible values - true or false.
Logical NOT operator (!): Reverses the boolean value. If it was originally false, applying NOT makes it true; if it was originally true, applying NOT makes it false.