加载中...

比较运算符


调试运行

<html>
<head>
<title>比较运算符</title>
</head>
<body>
<script language="javascript">
<!--
	a = 10;
	b = 5;
	document.write('a = ',a,',b = ',b,'<br>');
	document.write('a == b = ',a==b,'<br>');
	document.write('a >  b = ',a>b,'<br>');
	document.write('a <  b = ',a<b,'<br>');
	document.write('a != b = ',a!=b,'<br>');
//-->
</script>
</body>
</html>

还没有评论.