Javascript operators
From wikinotes
if not null
var foo = null ?? 123 // assign value of 123 // different from ||, which checks for any falsy value. // this only checks null
and/or
&& || // condition AND/OR condition
equality greater/less than
== != // equality ( '1' == 1 ) === !== // strict equality ( '1' !=== 1 ) < > <= >= // greater-than less-than
bitwise operators
x | y // bitwise or (set binary bit) x ^ y // bitwise exclusive and (unset binary bit) x & y // bitwise and (intersection of binary bits) x << n // bitwise shift by n bits x >> n // bitwise shift by n bits ~x // invert bits