Garbage Collection
Last updated
Last updated
Every JavaScript engine has default #Garbage_Collector
V8 engine - Garbage collector -
This garbage collector periodically checks Heap for unused objects(objects without reference) and remove these objects
The JavaScript garbage collector can't be trigger by the user, you can force the javascript to go ahead and garbage collect
[[JavaScript/Functions/Functions in JavaScript|Functions in JavaScript]]