diff --git a/cheatsheet/snapshot.html b/cheatsheet/snapshot.html index 1fdbe46..82d710a 100644 --- a/cheatsheet/snapshot.html +++ b/cheatsheet/snapshot.html @@ -36,26 +36,38 @@

Constants

undefined value
PI
mathematical constant π (~3.14159)
+
0xHHH…
+
Hexadecimal number

Operators

-
n + m
Addition
-
n - m
Subtraction
-
n * m
Multiplication
-
n / m
Division
-
n % m
Modulo
-
n ^ m
Exponentiation
-
n < m
Less Than
-
n <= m
Less or Equal
-
b == c
Equal
-
b != c
Not Equal
-
n >= m
Greater or Equal
-
n > m
Greater Than
-
b && c
Logical And
-
b || c
Logical Or
-
!b
Negation
+ +
n + m
Addition
+
n - m
Subtraction
+
n * m
Multiplication
+
n / m
Division
+
n % m
Modulo
+
n ^ m
Exponentiation
+
- n
Negation
+ +
n | m
Binary Or
+
n & m
Binary And
+
n << m
Left shift
+
n >> m
Right shift (sign preserving)
+
~ n
Binary Not
+ +
n < m
Less Than
+
n <= m
Less or Equal
+
b == c
Equal
+
b != c
Not Equal
+
n >= m
Greater or Equal
+
n > m
Greater Than
+ +
b && c
Logical And
+
b || c
Logical Or
+
! b
Logical Negation