title: Memory release from local variable in JavaScript
body: <p>I have a JS function which gets called on the page every few seconds. It's an AJAX update thing. </p>
  
  <p>Being a function, I declare local variables. I don't want to use closures or global variables for various reasons. </p>
  
  <p>I'd never considered this, but do I need to release/clear the variables at the end of the function to release memory or will JS do this for me automatically?</p>