Having a look at the heap, stack, and how garbage collection works.
This one focuses on how memory management works.
Even though the JS engine handles this for you, it’s good to know what happens under the hood to prevent memory leaks and other bugs from happening.
In the article, I cover what the JS heap and stack are responsible for. Furthermore, I’ll have a look at how garbage collection works and what you can do to prevent memory leaks.
I hope you’ll find this article useful; I certainly learned a few new things while writing it.
Have a nice week and see you soon!