用javascript写一个计算10的n次方的程序怎么写<script language="javascript">function myPow(a,n){ var ret = 1 var i for (i = 0i<ni++){ret2023-02-28JavaScript260