JS ⟩ statement ⟩ expression ⟩ operator ⟩ arithmetic ⟩ binary
🌟 table of operators
binary arithmetic operators
➕ add/concate (+)
➕ exponentiation (**)
➕ division (/)
➕ remainder (%) - r has same sign as a.
r
a
💾 modulo(a, b) - r has same sign as b.
b
💾 mod(a, b) - remainder in math (r≥0r \ge 0r≥0)
other topics
⚖️ remainder vs. modulo vs. mod
Last updated 3 years ago