<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>程序A</title>
</head>

<body>

    <script>
        function myfunc() {
            alert("第 1 段\n"+(new Date().getTime()));
        };
        myfunc();
    </script>
    <script>
        function myfunc() {
            alert("第 2 段\n"+(new Date().getTime()));
        };
        myfunc();
    </script>

</body>

</html>