这一段代码中mychar="javascript";这一句有没有都不影响输出值,为什么要加上呢
<script type="text/javascript">
var mychar;
mychar="javascript";
var mynum = 6;
document.write(mynum)
</script>
<script type="text/javascript">
var mychar;
mychar="javascript";
var mynum = 6;
document.write(mynum)
</script>
2016-04-22
举报