If you want force garbage collection on a variable in Javascript, is it better to set it as null or undefined?
Asked 2013-07-04T22:07:24.833
11
I am developing an Android game using JS framework. I want to make sure that some of the objects are garbage collected once I am done using them. How do i force it? Should I use null or undefined?