前端面试问题答案汇总--进阶篇

转载于https://github.com/poetries/FE-Interview-Questions,by poetrieshtml 1、JS #1 谈谈变量提高 当执行 JS 代码时,会生成执行环境,只要代码不是写在函数中的,就是在全局执行环境中,函数中的代码会产生函数执行环境,只此两种执行环境。git b() // call b console.log(a) // undefined v
相关文章
相关标签/搜索