fix: nop -> undefined

This commit is contained in:
cha0s 2024-07-03 21:57:52 -05:00
parent a553ef99c6
commit 5b42654892

View File

@ -327,6 +327,7 @@ export default class Sandbox {
break;
}
case 'Program': {
result = {value: undefined, yield: YIELD_NONE};
let skipping = isReplaying;
for (const child of node.body) {
if (skipping && child === this.$$execution.stack[depth + 1]) {