Version: v0.6.1 - Beta.  We welcome contributors & feedback.  THanks!

Math.pow

Math.pow($base, $exp)

Description

Get $base raised to the power of $exp.

Math.pow(2, 3);    //= 8
Math.pow(-1, 10);  //= 1

NoteYou can use the ** operator instead. (e.g. 2 ** 3 = 8)