为何不提示错误代码?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>+操作符</title>
<script type="text/javascript">
var mynum=1+5;
var mychar="中"+"国";
var wrong=中+国; //故意写错的代码
document.write("mynum的值:"+mynum+"<br>");
document.write("mychar的值:"+mychar);
document.write("wrong的值:"+mychar);//为什么Dreamweaver上不报错,而且不显示上述两行的输出?
</script>
</head>
<body>
</body>
</html>