摘要: 预解析:提前解析代码 就是在解析代码之前把变量、函数的声明提前(赋值不会提前)——提前到当前所在作用域的最上面。 1 function f1(){ 2 console.log("abc"); 3 } 4 f1();//输出mmm 5 function f1(){ 6 console.log("mmm 阅读全文
posted @ 2020-09-14 09:02 _KKcoding 阅读(91) 评论(0) 推荐(0) 编辑