哪里写的不对,求教,代码如下
哪里写的不对,求教,代码如下
<script type="text/JavaScript">
var age=99;
if(age<1)
{document.write("孩子孩子;")};
else if(age<10)
{document.write("青少年")};
else if(age<20)
{document.write("qiuzi")};
else
{document.write("go die")};
</script>
哪里写的不对,求教,代码如下
<script type="text/JavaScript">
var age=99;
if(age<1)
{document.write("孩子孩子;")};
else if(age<10)
{document.write("青少年")};
else if(age<20)
{document.write("qiuzi")};
else
{document.write("go die")};
</script>
2016-12-20
举报