JavaScript Under The Hood [4] – Memory Storage
In this video, we’ll look at how and where primitive values and reference data (objects) are stored.
đź’» My Courses & More
https://traversymedia.com
đź’– Show Support
Patreon: https://www.patreon.com/traversymedia
PayPal: https://paypal.me/traversymedia
👇 Follow Me On Social Media:
Twitter: https://twitter.com/traversymedia
Instagram: https://www.instagram.com/traversymedia
Linkedin: https://www.linkedin.com/in/bradtraversy
Timestamps:
0:00 – Intro
0:59 – Memory Management & Garbage Collection
2:34 – Primitive vs Reference Types
4:19 – Stack vs Heap (Diagram)
6:47 – Stack vs Heap (Code)
9:41 – Devtools Memory Tab
source