Garbage collectionshreshthmohanSourcehttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management#garbage_collection