I need to know the code built in for the syntax math.pow(x,y). Actually I used the syntax to find exponent of any number... e.g. 
var e = Math.pow(-3, 3); yields -27 but couldn't find out the program behind this... Help me please