hrpc
Results
2
comments of
hrpc
大佬好! 关于第一点,声明提升中的函数声明提升,有一个这个问题 ``` console.log(fn) fn() if (true) { function fn() { console.log('fn inner') } } // undefined // TypeError:fn is not a function ``` 把函数fn的调用移到if块里面,就正常控制台输出fn inner; 严格模式下 console.log(fn)这一行代码也要报错,提示fn is not...
第四章 第一节 第二段 `使用 XMLHttpRequest 对象来编写代码会想当棘手`,有错别字