像下面的代码一样,'<!--' 立即代码不会执行。如果在 '<!--' 之后添加换行符,请执行良好。这是javascript的规范吗?
<html>
<body>
<script type="text/javascript">
<!--document.write("TEST1"); // <- don't execute. In case of adding line break, execute well.
document.write("TEST2");
//-->
</script>
</body>
</html>