求助,看了好久还是没发现哪错了
这代码有问题吗,运行一直不行,谷歌,IE都是空白的
var mydate=new Date();
var weekend=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];
document.write(mydate.getFullYear()+"年"+mydate.getMonth()+"月"+(mydate.getDate()+1)+"日"+weekend.[mydate.getDay()]);
这代码有问题吗,运行一直不行,谷歌,IE都是空白的
var mydate=new Date();
var weekend=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];
document.write(mydate.getFullYear()+"年"+mydate.getMonth()+"月"+(mydate.getDate()+1)+"日"+weekend.[mydate.getDay()]);
2018-06-22
举报