不显示为啥
不显示为啥
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获得星期</title>
<script type="text/javascript">
var mydate=new date();
var weekday=["星期四","星期五"];
document.write("今天"+weekday[mydate.getDay()]);
</script>
</head>
<body>
</body>
</html>
获得星期