qq_溡簡惔莣孒苆_0
2015-10-27 20:39
var date= new Date(); var x=new Array["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]; var n=date.getYear(); var y=date.getMonth()+1; var r=date.getDay(); var m=date.getDate(); var time=n+"年"+y+"月"+m+"日"+"星期"+x[r]; document.write(time); 则怎么没显示 是哪里错了..... 求大神指教下
var x = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
JavaScript进阶篇
468061 学习 · 21891 问题
相似问题