Garbage Collection in Modern Browsers
What is Garbage Collection or GC?
When you declare a function, object, array, or variable in JS, they are all saved in memory.
So let's say for the time being that an object A (Obj A) exists in a program. Location (A) is formed when the program execu...
shashankkumar.hashnode.dev6 min read