@@ -37,72 +37,72 @@ The following tables list and describe all operators recognized by the After Eff
37
37
38
38
### Description of Operators
39
39
40
- | Operators | Description |
41
- | ---------- | ------------------------------------------------------- |
42
- | ` new ` | Create new object instance. |
43
- | ` delete ` | Delete property from an object. |
44
- | ` typeof ` | Returns data type. |
45
- | ` void ` | Returns undefined value. |
46
- | ` . ` | Object member. |
47
- | ` [] ` | Array element. |
48
- | ` () ` | Function call. |
49
- | ` ++ ` | Pre- or post-increment. |
50
- | ` -- ` | Pre- or post-decrement. |
51
- | ` - ` | Unary negation or subtraction. |
52
- | ` ~ ` | Bitwise NOT. |
53
- | ` ! ` | Logical NOT. |
54
- | ` * ` | Multiply. |
55
- | ` / ` | Divide. |
56
- | ` % ` | Modulo division. |
57
- | ` + ` | Add. |
58
- | ` << ` | Bitwise left shift. |
59
- | ` >> ` | Bitwise right shift. |
60
- | ` >>> ` | Unsigned bitwise right shift. |
61
- | ` < ` | Less than. |
62
- | ` <= ` | Less than or equal. |
63
- | ` > ` | Greater than. |
64
- | ` >= ` | Greater than or equal. |
65
- | ` == ` | Equal. |
66
- | ` != ` | Not equal. |
67
- | ` & ` | Bitwise AND. |
68
- | ` ^ ` | Bitwise XOR. |
69
- | ` \| ` | Bitwise OR. |
70
- | ` && ` | Logical AND. |
71
- | ` \|\| ` | Logical OR. |
72
- | ` ?: ` | Conditional (ternary). |
73
- | ` = ` | Assignment. |
74
- | ` += ` | Assignment with add operation. |
75
- | ` -= ` | Assignment with subtract operation. |
76
- | ` *= ` | Assignment with multiply operation. |
77
- | ` /= ` | Assignment with divide operation. |
78
- | ` %= ` | Assignment with modulo division operation. |
79
- | ` <<= ` | Assignment with bitwise left shift operation. |
80
- | ` >>= ` | Assignment with bitwise right shift operation. |
81
- | ` >>>= ` | Assignment with unsigned bitwise right shift operation. |
82
- | ` &= ` | Assignment with bitwise AND operation. |
83
- | ` ^= ` | Assignment with bitwise XOR operation. |
84
- | ` \|= ` | Assignment with bitwise OR operation. |
85
- | ` , ` | Multiple evaluation. |
40
+ | Operators | Description |
41
+ | ------------------------- | ------------------------------------------------------- |
42
+ | ` new ` | Create new object instance. |
43
+ | ` delete ` | Delete property from an object. |
44
+ | ` typeof ` | Returns data type. |
45
+ | ` void ` | Returns undefined value. |
46
+ | ` . ` | Object member. |
47
+ | ` [] ` | Array element. |
48
+ | ` () ` | Function call. |
49
+ | ` ++ ` | Pre- or post-increment. |
50
+ | ` -- ` | Pre- or post-decrement. |
51
+ | ` - ` | Unary negation or subtraction. |
52
+ | ` ~ ` | Bitwise NOT. |
53
+ | ` ! ` | Logical NOT. |
54
+ | ` * ` | Multiply. |
55
+ | ` / ` | Divide. |
56
+ | ` % ` | Modulo division. |
57
+ | ` + ` | Add. |
58
+ | ` << ` | Bitwise left shift. |
59
+ | ` >> ` | Bitwise right shift. |
60
+ | ` >>> ` | Unsigned bitwise right shift. |
61
+ | ` < ` | Less than. |
62
+ | ` <= ` | Less than or equal. |
63
+ | ` > ` | Greater than. |
64
+ | ` >= ` | Greater than or equal. |
65
+ | ` == ` | Equal. |
66
+ | ` != ` | Not equal. |
67
+ | ` & ` | Bitwise AND. |
68
+ | ` ^ ` | Bitwise XOR. |
69
+ | < code > &# 124 ; </ code > | Bitwise OR. |
70
+ | ` && ` | Logical AND. |
71
+ | < code > &# 124 ;&# 124 ; </ code > | Logical OR. |
72
+ | ` ?: ` | Conditional (ternary). |
73
+ | ` = ` | Assignment. |
74
+ | ` += ` | Assignment with add operation. |
75
+ | ` -= ` | Assignment with subtract operation. |
76
+ | ` *= ` | Assignment with multiply operation. |
77
+ | ` /= ` | Assignment with divide operation. |
78
+ | ` %= ` | Assignment with modulo division operation. |
79
+ | ` <<= ` | Assignment with bitwise left shift operation. |
80
+ | ` >>= ` | Assignment with bitwise right shift operation. |
81
+ | ` >>>= ` | Assignment with unsigned bitwise right shift operation. |
82
+ | ` &= ` | Assignment with bitwise AND operation. |
83
+ | ` ^= ` | Assignment with bitwise XOR operation. |
84
+ | < code > &# 124 ; =</ code > | Assignment with bitwise OR operation. |
85
+ | ` , ` | Multiple evaluation. |
86
86
87
87
### Operator Precedence
88
88
89
- | Operators (highest precedence to lowest) | Associativity |
90
- | ---------------------------------------------------------- | - ------------- |
91
- | [ ] , (), . | left to right |
92
- | new, delete, - (unary negation), !, type of, void , ++, -- | right to left |
93
- | \* , /, % | left to right |
94
- | +, - (subtraction) | left to right |
95
- | <<, >>, >>> | left to right |
96
- | <, <=, >, >= | left to right |
97
- | = =, ! = | left to right |
98
- | & | left to right |
99
- | ^ | left to right |
100
- | ` \ ` | left to right |
101
- | && | left to right |
102
- | ` \|\| ` | left to right |
103
- | ?: | right to left |
104
- | ==, /=, %=, <<=, >>=, >>>=, &=, ^=, \= , +=, -=, \* = | right to left |
105
- | , | left to right |
89
+ | Operators (highest precedence to lowest) | Associativity |
90
+ | -------------------------------------------------------------------------- | ------------- |
91
+ | ` [] ` , ` () ` , ` . ` | left to right |
92
+ | ` new ` , ` delete ` , ` - ` (unary negation), ` ! ` , ` typeof ` , ` void ` , ` ++ ` , ` -- ` | right to left |
93
+ | ` * ` , ` / ` , ` % ` | left to right |
94
+ | ` + ` , ` - ` (subtraction) | left to right |
95
+ | ` << ` , ` >> ` , ` >>> ` | left to right |
96
+ | ` < ` , ` <= ` , ` > ` , ` >= ` | left to right |
97
+ | ` == ` , ` != ` | left to right |
98
+ | ` & ` | left to right |
99
+ | ` ^ ` | left to right |
100
+ | ` \ ` | left to right |
101
+ | ` && ` | left to right |
102
+ | < code > &# 124 ;&# 124 ; </ code > | left to right |
103
+ | ` ?: ` | right to left |
104
+ | ` == ` , ` /= ` , ` %= ` , ` <<= ` , ` >>= ` , ` >>>= ` , ` &= ` , ` ^= ` , ` \= ` , ` += ` , ` -= ` , ` *= ` | right to left |
105
+ | ` , ` | left to right |
106
106
107
107
---
108
108
0 commit comments