<!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML 4.0//EN""http://www.w3.org/TR/REC-html140/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<title>弱类型</title>
<script language="javascript" type="text/javascript">
<!--
//弱类型测试函数
function Test(){
var msg = "/n弱类型语言测试:/n/n";
msg += "''600''*5=" + ('600' * 5) + "/n";
msg += "''600''-5=" + ('600' - 5) + "/n";
msg += "''600''/5=" + ('600' / 5) + "/n";
msg += "''600''+5=" + ('600' + 5) + "/n";
alert(msg);
}
-->
</script>
</head>
<body>
<center>
<form>
<input type="button" value="弱类型测试" οnclick="Test()">
</form>
</center>
</body>
</html>
弱类型
最新推荐文章于 2024-02-29 16:55:39 发布