这个+ i[mydate.getDay()]+为什么会输出本地星期呢
var mydate = new Date();
var i = ["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]
document.write("今天是阳历:"+mydate.getFullYear() + "年" + mydate.getMonth() + "月" + mydate.getDay() + "日" + i[mydate.getDay()]+"<br />");
今天是星期二
+ i[mydate.getDay()]+是什么意思?为什么直接弹出alert(i[9])不行吗