慕斯709654
console.log(Object.getOwnPropertyNames(Math).filter((function (name) { return typeof Math[name] === 'function'; })).length); //有35个函数