我写的第一组变量

原创 2018-12-28 15:30:45 169
摘要:<!DOCTYPE html> <html>     <head>      <title>我写的第一个变量</title>     </head>     
<!DOCTYPE html>
<html>
    <head>
    	<title>我写的第一个变量</title>
    </head>
    <body>
    	<script type="text/javascript">
    		var name='Tom',age=17;
    		document.write(name+"<br/>");
    		document.write(age+"<br/>");
            var a=5,b=6;
    		document.write(++a+"<br/>");
    		document.write(a>b);
    		document.write('<br/>')
    		document.write(a<10&&b>3);
        </script>	
    </body>
</html>


批改老师:天蓬老师批改时间:2018-12-28 15:46:30
老师总结:下次可以直接将结果输出到控制台中,可以看到的详细内容

发布手记

热门词条