biubiubiu...

指数、平方计算

1. **

 2 ** 3 // 8

 3 ** 2 // 9

 

2. Math.pow(基数,指数)

 Math.pow(2,3) //8

 Math.pow(3,2) //9

  

posted @ 2021-01-28 19:54  了恩  阅读(538)  评论(0编辑  收藏  举报