加载中...

递增、递减运算符


调试运行

<html>
<head>
<title>递增、递减运算符</title>
</head>
<body>
<script language="javascript">
<!--
	a = 1; b = 10;
	document.write('a = ',a,',b = ',b,'<br>');
	a++;
	document.write('a++ = ',a,'<br>');
	b--;
	document.write('b-- = ',b,'<br>');
//-->
</script>
</body>
</html>

还没有评论.