JavaScript Programmer’s Reference You cannot force a garbage collection in a JavaScript execution session in a web browser other than by setting the location.hrefof the current page to itself. This has the side effect of reloading the page from the web server, presenting the user with a possibly ugly transition artifact and increasing net traffic. However, this may be far more preferable than consuming 50 Megabytes of memory every few minutes in the client. See also: Garbage collection, Memory leak MENU object (Object/HTML) An object that represents the contents of a