摘要:
来源:https://blog.csdn.net/Raytheon107/article/details/91975043 假设数据是a 1.typeof 返回一个表示数据类型的字符串,返回结果包括:number、boolean、string、symbol、object、undefined、func 阅读全文
摘要:
var date=new Date(object类型参数) 阅读全文
摘要:
来源地址:https://www.jb51.net/article/165003.htm // 格式化日期,如月、日、时、分、秒保证为2位数 function formatNumber (n) { n = n.toString() return n[1] ? n : '0' + n; } // 参数 阅读全文