摘要: getDate() 返回一个月中的某一天 1-31 getDay() 返回一周中某一天0-6 getFullyear()返回四位数的年份 getMonth()返回月份 比实际情况小1 0代表1月 0-11 getHours()返回的当前的 小时数0-23 getMinutes() 返回当前的分钟数0 阅读全文
posted @ 2018-12-21 10:35 前端*迷途者 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 数学中的弧度和角度 1.弧度的π Math.PI 2.返回平方根 Math.sqrt(16) 3.Math.abs(x) 返回的绝对值 4.Math.ceil(x) 返回x的上舍入 5.Math.floor(x) 返回x的下舍入 6.Math.max(a,b,c,d)返回a,b,c,d中的最大值 a 阅读全文
posted @ 2018-12-21 10:31 前端*迷途者 阅读(121) 评论(0) 推荐(0) 编辑