改变三个函数定义顺序,则alert不同的值
<html>
<head><title></title>
</head>
<body>
<br/>
<input type="button" value="test" onclick="test1(2, 1)"/>
<script language="JScript.Encode">
function test1(v1) {
alert("in 1:" + v1);
}
function test1(v1, v2) {
alert("in 2:" + v2);
}
function test1() {
alert("in 3");
}
</script></body>
</html>