Skip to content
JStar
Search
Meta
K
Main Navigation
开始
HTMLCSS
js
react
vite
vue
webpack
小程序
工程化
微前端
面试经验
GitHub
Appearance
GitHub
Menu
Return to top
大纲
Table of Contents for current page
js执行上下文
创建阶段
生成变量对象VO
创建arguments
扫描函数声明
扫描变量声明
建立作用域链-确定this的指向
executionContextObj = {
this: 对的就是你关注的那个this,
VO:变量对象,
scopeChain: 作用域链,跟闭包相关
}
1
2
3
4
5
执行阶段
变量赋值
函数的引用
执行其他代码