📜  查找每月 js 的最大天数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:53.504000             🧑  作者: Mango

代码示例1
var month = 0; // January
var d = new Date(2008, month + 1, 0);
console.log(d.toString()); // last day in January