how to remove from the var in javascript code example Example: how to delete a variable in js hello = document.getElementById("Hello") delete hello