📅  最后修改于: 2022-03-11 15:02:06.150000             🧑  作者: Mango
const monthNames = ["January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
];
const d = new Date();
document.write("The current month is " + monthNames[d.getMonth()]);