From c6339b2e153ac223d556f0d11eed43344dc5d04f Mon Sep 17 00:00:00 2001 From: Joeylene <23741509+jorenrui@users.noreply.github.com> Date: Mon, 5 Feb 2024 17:08:01 +0800 Subject: [PATCH] refactor: expose window --- lib/generators/interpreter.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/generators/interpreter.js b/lib/generators/interpreter.js index 521800d..b023154 100644 --- a/lib/generators/interpreter.js +++ b/lib/generators/interpreter.js @@ -3,7 +3,6 @@ import { Lexer } from './lexer.js' const AsyncFunction = Object.getPrototypeOf(async function(){}).constructor const DEFAULT_SCOPE = { - window: {}, eval: {}, XMLHttpRequest: {}, Function: {},