
JSJ 471: Things Every JavaScript Developer Must Know - Part 3
JavaScript Jabber
00:00
JavaScript
Each object in JavaScript has its own name for that is a memory address essentially. So when you assign one thing to a person, and then you're looking like, is it person A or person B? Well, now person A is not being used anymore. At some point, JavaScript will walk through all of the memory references and check to see if any memory reference is located anywhere else in the memory stack. And if it isn't, then it says, oh, okay, there are no longer any references to what you used to callperson A. It's kind of like the air we breathe. You don't think about the air.
Play episode from 25:35
Transcript


