<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<body>
<script type="text/javascript" language="javascript">
<!--
function Foo()
{
document.write("<p>共有" + arguments.length + "个参数,它们的值分别是:<p>");
for (var i=0; i<arguments.length; i++)
{
document.write("<p>" + arguments[i] + "</p>");
}
}
Foo("123", "abc", "教程", "下载", "JavaScript");
//-->
</script>
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<body>
<script type="text/javascript" language="javascript">
<!--
function Foo()
{
document.write("<p>共有" + arguments.length + "个参数,它们的值分别是:<p>");
for (var i=0; i<arguments.length; i++)
{
document.write("<p>" + arguments[i] + "</p>");
}
}
Foo("123", "abc", "教程", "下载", "JavaScript");
//-->
</script>
</body>
</html>