title: How can I unset a JavaScript variable?
body: <p>I have a global variable in JavaScript (actually a <code>window</code> property, but I don't think it matters) which was already populated by a previous script, but I don't want another script that will run later to see its value or that it was even defined.</p>
  <p>I've put <code>some_var = undefined</code> and it works for the purpose of testing <code>typeof some_var == &quot;undefined&quot;</code> but I really do not think it's the right way to go about it.</p>
  <p>What do you think?</p>