Discuss / JavaScript / 作业

作业

Topic source

落叶起声

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

var today = new Date();

console.log(today)

if (today.getMonth() === 8 && today.getDate() === 20) {

    alert('单身万岁怎么说');

}


  • 1

Reply