pow

種類メソッド
書式 Math.pow(基数,指数)
解説
べき乗を返します。
サンプルコード
n = eval(prompt("Input Number",2));
alert("10の"+n+"乗は"+Math.pow(10,n)+"です");
実際のスクリプトをダウンロード