Discuss / JavaScript / 注孤生

注孤生

Topic source

importNew_yy

#1 Created at ... [Delete] [Delete and Lock User]
var today = new Date();
if (today.getMonth() === 2 && today.getDate() === 14) {
    alert('亲爱的,我预定了晚餐,晚上6点在餐厅见!');
}else {
alert('亲爱的,我么还是分手吧!再见!');
}

  • 1

Reply