title: Delete a variable or object from the page using javascript
body: <p>I used delete keyword to delete a variable but it doesn't seem to work....   </p>
  
  <pre><code>var txt = "Some text";
  alert(txt); //Output - Some text
  delete txt;
  alert(txt); //SAME OUTPUT - Some text
  </code></pre>