• 2022-06-17
    【单选题】如果要在网页上显示”20060816”,空格处因该填写的JavaScript代码是(选一项)[br][/br]var year = 2006;[br][/br]var month = 8;[br][/br]var date = 16;[br][/br]document.write( ________ );此处填写代码
    A: year+month+date
    B: year+0+month+date
    C: year+"0"+month+date
    D: year+" "+month+" "+date
  • 举一反三