mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
b10563cb20
This commit fixes an error when user deletes "window" global JS variable. Instead of relying on "window" or "globalThis" to dispatch "load" and "unload" events, we are default to global scope of the worker.
1 line
39 B
JavaScript
1 line
39 B
JavaScript
console.log(delete globalThis.window);
|