在下面的例子中,我們將把 pow() 運(yùn)用到不同的數(shù)字組合上: var a=Math.pow(0,1); var b=Math.pow(1,1); var c=Math.pow(1,10); var d=Math.pow(3,3); var e=Math.pow(-3,3); var f=Math.pow(2,4); a,b,c,d,e, 和 f 輸出結(jié)果: 0 1 1 27 -27 16 嘗試一下 ?JavaScript...
edu.jb51.net/jsref/jsr...pow.html 2025-5-25