Hi guys.
Sometimes i have really big vars that take a lot of memory.
I am nulling them like this ?

Code: 
var myvar='some big stack';
myvar=null;
The thing is that i am not sure if that works.
Some people say that myvar=false or myvar=undefined will do the trick.
Any thoughts?

Thanks
Porsche_maniak Reviewed by Porsche_maniak on . Javascript clean var and save memory? Hi guys. Sometimes i have really big vars that take a lot of memory. I am nulling them like this ? var myvar='some big stack'; myvar=null; The thing is that i am not sure if that works. Rating: 5