This is a draft cheat sheet. It is a work in progress and is not finished yet.
Arithmetic
* |
Multiplication |
+ |
Addition |
- |
Subtraction |
/ |
Division |
% |
Modulo |
Relational
< |
Less Than |
> |
Greater Than |
<= |
Less than or equal to |
>= |
Greater than or equal to |
== |
Equal to |
!= |
Not equal to |
Logical, Ternary, and Unary
&& |
logical AND |
|| |
logical OR |
? : |
Ternary Operator |
expr++ |
Postfix Increment |
expr-- |
Postfix Decrement |
|
|
String Methods
|
Turns a string into an array given a delimiter. |
|
Returns the character at a given index within a string. |
|
Returns the index of a the string found, if not found, returns -1 |
|
Compares a string with another string. Returns boolean value. |
|
Returns the length of the string. |
|