Discuss / JavaScript / 哈哈

哈哈

Topic source

var today = new Date(); if (today.getMonth() === 6 && today.getDate() === 13) { alert('亲爱的,我预定了晚餐,晚上6点在餐厅见!'); } else{ alert('亲爱的,我预定晚餐失败了。'); };

L0standfound

#2 Created at ... [Delete] [Delete and Lock User]

注定孤独一生,哈哈哈!

Mr卞先森

#3 Created at ... [Delete] [Delete and Lock User]

var today = new Date(); if (today.getMonth().t===1 && today.getDate()===3) { alert('亲爱的,我预定了晚餐,晚上6点在餐厅见!'); }else alert(new Date().getMonth());


  • 1

Reply