The carot '^' operator is a bitwise XOR operator. Its more of an advanced topic, the results of which are not powers of. You might want to use Math.pow, or alternatively a loop where the value is...