My HTML editor with instant preview just got a tad better.
Previously, the JS state stuck around between runs. Causing problems, for example when you define a global variable with let.
Now the output frame gets recreated on every update, which fixes it.