Understanding memory management and the garbage collector

added by JavaScript Kicks
6/26/2018 8:56:54 AM

811 Views

In JavaScript, the memory taken by the values held by the variables is automatically freed when they are not used anymore. This is done by the garbage collector to free up space. How can we benefit from knowing how it works and therefore how to write better code? Let's find out!


0 comments