JavaScript supports the usual arithmetic operators. % is remainder (not modulo), and ** is exponentiation.
Challenge: Write arithmetic(a, b) that returns an object with properties add, sub, mul, div, mod, pow representing each operation.