In JavaScript, where are primitive types stored actually in the execution context?
![](https://feddit.it/pictrs/image/ee7d3519-7b5f-4041-88b7-fa054d11fa32.png)
![](https://beehaw.org/pictrs/image/7a17afb3-71f4-4ef1-a5ce-d2975ba46c88.png)
The course i'm following says primitive types belong to the execution context in the call stack, but are they part of the context variable environment?
I guess variable declarations would surely be part of the variable environment, but what about the other primitive types, like null or undefined? Do they need to be attached to a declaration or are they stored in as well?
No comments yet. You could be first!