Math.pow

var myMath = Math.pow(2, 8) // returns 256

Close