I have a problem with the JS console. A simple example:
I declare the variable k, assign a value to it, display it in the console with console.log, everything works as it should. But I need to change the k value to another one. I change, press the Run button and the error is displayed:
“SyntaxError: redeclaration of let k - debugger eval code:1”
To get around this, I have to copy the whole code (otherwise it will be deleted), refresh the page and paste the code back, and then k works with the new value. I think this works badly. Is this a bug?