if (today.getMonth() === 1 && today.getDate() === 14) {
alert('亲爱的,我预定了晚餐,晚上6点在餐厅见!');
}
2月14应该today.getMonth() === 1
你能运行出来?
Sign in to make a reply
巫婆理发卜
if (today.getMonth() === 1 && today.getDate() === 14) {
alert('亲爱的,我预定了晚餐,晚上6点在餐厅见!');
}
2月14应该today.getMonth() === 1