Modulo - calculations error

Viewed 59

Let me be brief. I'm trying to calculate

alert((Math.pow(7,35))%71)

but it gives me 61, when the result must be 70. What's wrong?

3 Answers
Related