JavaScript Operators
Arithmetic, comparison, logical, bitwise operators. This category documents 39 JavaScript operators entries, and each page gives you the full syntax, the parameter list, the return value, a runnable example, time complexity, the TypeScript signature, and the mistakes developers most often make with that API. The entries are: + (Addition), - (Subtraction), * (Multiplication), === (Strict Equality), && (Logical AND), || (Logical OR), ?? (Nullish Coalescing), ?. (Optional Chaining), typeof, ?: (Ternary), => (Arrow Function), & (Bitwise AND), | (Bitwise OR), += (Add Assign), *= (Multiply Assign), /= (Divide Assign), %= (Remainder Assign), **= (Exponent Assign), <<= (Left Shift Assign), >>= (Right Shift Assign), >>>= (Unsigned Right Shift Assign), &= (AND Assign), |= (OR Assign), ^= (XOR Assign), &&= (AND Logical Assign), ||= (OR Logical Assign), ??= (Nullish Assign), % (Remainder), ** (Exponentiation), ++ (Increment), -- (Decrement), == (Loose Equality), != (Loose Inequality), > (Greater Than), < (Less Than), >= (Greater or Equal), <= (Less or Equal), >= (Greater Equal), <= (Less Equal). For a structured walkthrough of the whole topic, read the Operators guide. Not sure which method you need? + (Addition) and - (Subtraction) are the most commonly used starting points in this category. You can also search across every category from the search page or browse the complete A–Z index.