I am learning JavaScript and have been doing a lot of testing in the Chrome console. Even if I clear the console, or use any of the commands I\'ve seen in other threads (
I think the best way to clear the defined varible would be:
window.location.reload();
It would automatically remove all the declared variable at once.