js 格式化时间日期函数小结 复制代码 代码如下: Date prototype format = function(format){ var o = { "M+" : this getMonth()+ JavaScript 2022-04-03 212 点赞 3 评论 321 浏览