If you just want to get rid of the jslint warning, you can try the following:
var myHugeVariable = ...; // do stuff with huge variable delete window.myHugeVariable;
This should work, since all global variables are actually properties of the global object.
jbabey
source share