26

解密 JavaScript 执行上下文

 4 years ago
source link: https://juejin.im/post/5cda8c8051882569223af63d
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
执行上下文栈 首先我们先了解一下什么是执行上下文栈(Execution context stack)。 上面这张图来自于mdn,分别展示了栈、堆和队列,其中栈就是我们所说的执行上下文栈;堆是用于存储对象这种复杂类型,我们复制对象的地址引用就是这个堆内存的地址

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK