分类
编程

新曙光JS教程——if语句

<html>
<head>
<script>
var age=16;
if (age < 18) text = "太年轻";
document.write(text); 
</script>
</head>
<body>
</body>