Math.pow(base, exponent) 會回傳 base 的 exponent 次方。
Math.pow(2, 10)
這個方法適合處理次方、冪次與遞增倍率等計算。
若需要計算平方根,也可使用指數 0.5,例如 Math.pow(x, 0.5)。