.toUpperCase() capitalizes all letters in a string
- .toLowerCase() does the opposite
- "and" is written as &&
true && true; // => true true && false; // => false false && true; // => false false && false; // => false
- "or" is ||
true || true; // => true true || false; // => true false || true; // => true false || false; // => false
- "not" is !
!true; // => false !false; // => true
Good notes.
ReplyDelete