These are my reading notes for Code Fellows
==
IS EQUAL TO
!=
IS NOT EQUAL TO
===
STRICT EQUAL TO
!==
STRICT NOT EQUAL TO
>
GREATER THAN
<
LESS THAN
>=
GREATER THAN OR EQUAL TO
<=
LESS THAN OR EQUAL TO
The below are Logical Operators:
&&
is a Logical And
true
Tests more than one condition
||
is a Logical Or
true
Tests at least one condition
!
is a Logical Not
true
, it changes it to false
Reverses the state of an expression
A code block will run repeatedly (in a loop) until it returns the condition of false
.
for
runs a code a certain number of times
while
code will continue to run as long as a condition is true
do...while
like while
, with some caveats
i++
or i--
adds or subtracts one, respectively)