Consider the following code
for (var i=0; i<4; i++)
label: {
console.log(i);
if (i === 1) {
console.log("break");
break;
}
}
When I run this code in Safari, Firefox, Chrome, or V8's d8 console, they print out:
However, with qjs, it prints:
For context, I'm encountering this problem with some code generated from compiling Dart Sass to JS: sass/dart-sass#2212