interactive
interactive copied to clipboard
Restarting kernel doesn't reset JavaScript state
Repro steps:
- Set a variable in a JavaScript cell:
myVariable = 123;
-
Restart the kernel
-
In another JavaScript cell, run this:
console.log(myVariable);
Expected:
Error: ReferenceError: myVariable is not defined
Actual:
123