As google suggests -10=-1. And as I understand pow() function in javascript, python and C should return the same result. But it's not true. Why?
Python:
>>> pow(-1, 0)
1
It's a precedence thing. Google thinks (-1)0 = 1, as does Python:
>>> (-1)**0
1