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 (localStorage.clear()
) any variables I've assigned still show up.
For example, if I do something like var name = "Bob";
I clear and close the console, reopen it, and look for the value of name
, it's still Bob
.
What's the best way to clear these out?