var today = new Date(); if (today.getMonth() === 2 && today.getDate() === 14) { alert('亲爱的,我预定了晚餐,晚上6点在餐厅见!'); } else{ alert('亲爱的,晚上老地方等你'); }
哈哈哈,好有爱~~~
Sign in to make a reply
Dicetequiero
var today = new Date(); if (today.getMonth() === 2 && today.getDate() === 14) { alert('亲爱的,我预定了晚餐,晚上6点在餐厅见!'); } else{ alert('亲爱的,晚上老地方等你'); }