Web/04-JavaScript基础/20-执行期上下文.md
2020-05-14 22:17:35 +08:00

16 lines
497 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 执行期上下文
**函数执行**准确来说是在函数发生预编译的前一刻会创建一个执行期上下文的内部对象一个执行期上下文定义了一个函数执行时的环境
每调用一次函数就会创建一个新的上下文对象他们之间是相互独立且独一无二的当函数执行完毕它所产生的执行期上下文会被销毁
## 参考链接
- <https://www.cnblogs.com/chenyingjie1207/p/9966036.html>