Sometimes when I am working with the chrome dev tools - and I use let statement to declare some variables:
let x = 1;
x++;
console.log(x);
let x = 2;
The last line will throw an Uncaught SyntaxError: Identifier 'x' has already been declared.
How can I clear the current scope (or all the variables I created from all the older statements) - so that if I declare them again - it's a fresh start and they get all garbage collected or just disposed.
I don't want to open a new tab since I am using a full-window chrome dev tools window like this