課程
/前端開發(fā)
/JavaScript
/JavaScript進(jìn)階篇
Math.floor(x)
2015-06-23
源自:JavaScript進(jìn)階篇 7-14
正在回答
正確啊
向下取整floor()
http://idcbgp.cn/code/852
舉報(bào)
本課程從如何插入JS代碼開始,帶您進(jìn)入網(wǎng)頁動(dòng)態(tài)交互世界
2 回答為什么Math.floor(x)中的x可以是任意數(shù)值或表達(dá)式,而Math.ceil(x)中的x必須是一個(gè)數(shù)值?
4 回答document.write(Math.floor(a)+"<br/>")
2 回答function get_nextSibling(n){ var x=n.nextSibling; while (x && x.nodeType!=1){ x=x.nextSibling; } return x; }
1 回答function get_nextSibling(n){ var x=n.nextSibling; while (x && x.nodeType!=1){ x=x.nextSibling; } return x; }
4 回答while (x && x.nodeType!=1){ x=x.nextSibling; }
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2019-09-29
正確啊
2015-12-15
向下取整floor()
http://idcbgp.cn/code/852