js中Math的几个函数
1 回答

慕斯709654
TA贡献1840条经验 获得超5个赞
console.log(Object.getOwnPropertyNames(Math).filter((
function
(name) {
return
typeof
Math[name] ===
'function'
;
})).length);
//有35个函数
添加回答
举报
0/150
提交
取消