摘要:
1、在循环中删除数组一个元素。 splice(i--, 1);2、时间格式化。 new Date().format("yyyy-MM-dd hh:mm:ss"); new Date().format("yyyy年MM月dd日 hh时mm分ss秒");Date.prototype.format = function (fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+&q 阅读全文