Discuss / JavaScript / 作业笨方法

作业笨方法

Topic source

aiyicha

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

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


  • 1

Reply