js016-词法分析()

<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>Title</title></head><body>    //词法分析的顺序(函数未执行之前):1-形参,2-局部变量,3-函数。最优先级是函数    <script>        function func(num){            console.log(num);            var num = 13;            console.log(num);            function num(){}            console.log(num)            num = 33;            console.log(num);        }        func(6)    </script></body></html>
————————
<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>Title</title></head><body>    //词法分析的顺序(函数未执行之前):1-形参,2-局部变量,3-函数。最优先级是函数    <script>        function func(num){            console.log(num);            var num = 13;            console.log(num);            function num(){}            console.log(num)            num = 33;            console.log(num);        }        func(6)    </script></body></html>