摘要:
let res = 3 % -10 console.log(res) // 3 取余数运算中,如果右侧数值小于左侧,则结果为左测数值 let res = 2 * 2 * undefined console.log(res) // NaN undefined在转化为数值类型时是NaN let a = 阅读全文
摘要:
//获取当前日期 function getNowFormatDate() { var date = new Date(); var seperator1 = "-"; var seperator2 = ":"; var month = date.getMonth() + 1; var strDate 阅读全文