<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>程序B</title>
</head>
<body>
<script>
function myfunc() {
alert("第 1 段\n"+(new Date().getTime()));
};
myfunc();
function myfunc() {
alert("第 2 段\n"+(new Date().getTime()));
};
myfunc();
</script>
</body>
</html>