Computer Science 555
Website Development using JavaScript and AJAX - 3 Units
- Section:
- 3179
- Instructor:
- Brad Gilbert
- Pierce Mailbox:
- 612
- Email:
- pierce@wavethunder.com
- Wednesday Office Hours:
- 5:00 - 5:40 PM COSC 1507
- Wednesday Lab:
- 5:45 - 7:50 PM COSC 1507
- Wednesday Lecture:
- 7:55 - 10:00 PM MATH 1511
- Other classes:
- CS-575
operators
| Operator |
Description |
| = |
Assign value of expression on right to variable on left |
| + |
Add 2 numbers |
| + |
Concatenate 2 strings |
| - |
Subtraction |
| * |
Multiplication |
| / |
Division |
| % |
(modulus) - Integer division remainder |
| ++ |
Increment an integer by 1 |
| -- |
Decrement an integer by 1 |
| += |
Increase value of variable on left by value of expression on right |
| += |
Concatenate string on left with string-expression on right |
| -= |
Decrease value of variable on left by value of expression on right |
| Logical |
Description |
| == |
true if data is equivalent |
| === |
true if data AND data type are equivalent |
| != |
true if data is not equivalent |
| !== |
true if data OR data type are not equivalent |
| && |
(and) - true if expressions on left AND right are true |
| || |
(or) - true if expressions on left OR right are true |
| ! |
(not) - reverses true to false, and false to true |