感觉和大家一样却没办法运行?帮忙看看谢谢
<!DOCTYPE HTML>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>函数</title>
<script type="text/javascript">
function panduan(x,y)
{
if(x>y)
{
return x;
}
else if(x<y)
{
return y;
}
else
{
return "他们相等";
}
}
//函数体,判断两个整数比较的三种情况
document.write("x和y中值比较大的是"+panduan(5,4) + "<br />" );
document.write("x和y中值比较大的是"+panduan(6,9) + "<br />" );
document.write("x和y中值比较大的是"+panduan(88,88) )
</script>
</head>
<body>
</body>
</html>