<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <script>
        function t1(age) {
            console.log(age);
            var age=27;
            console.log(age);
        function age() {
            console.log(age)
        }
        }
        t1(3);
        //此法分析
//        1.形式参数
//        AO.age = 3;
//        2.局部变量
//        AO.age = undefined
//        3.函数声明表达式
//        AO.age = function()




    </script>
</body>
</html>

 

posted on 2018-07-11 21:09  python我的最爱  阅读(271)  评论(0编辑  收藏  举报