问答详情
源自:7-23 编程练习

哪里错了!!!


  var current=new Date();


var weekday=["星期天","星期一","星期二","星期三","星期四","星期五","星期六"];

document.write(current.getFullYear()+"年"+(current.getMonth()+1)+"月"+current.getDate()+"日"+""+weekday[current.getDay()]+"<br/>");


提问者:慕粉1463572084 2016-06-07 17:51

个回答

  • vitelearn
    2016-06-07 18:07:52

    分号和逗号 用英文输入状态下的

  • vitelearn
    2016-06-07 18:07:46

    分号和逗号 用英文输入状态下的