JS - n次方计算

时间:2019-09-26 16:09:07   收藏:0   阅读:1631

pow 方法
返回底表达式的指定次幂。 

Math.pow(base, exponent) 

参数
base

必选项。表达式底的值。

exponent

必选项。表达式的指数值。

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!