BUG: code is run twice when it produces a runtime error

console.log("START");
const answer = prompt("Q");
console.log(answer);
console.log(anser); // If this produces a runtime error, the code above is fired twice.
console.log("END");

If I run this REPL the lines before the anser line are executed twice.

Can anyone confirm?

Does REPLit have a bug tracker?

Hi @nielswinc, please submit bugs using the “?” button at the bottom left of your Replit screen. These go directly to our support and eng teams to be triaged!

1 Like