mirror of
https://github.com/denoland/deno
synced 2024-10-13 03:22:31 +00: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.
2 lines
39 B
JavaScript
2 lines
39 B
JavaScript
console.log(delete globalThis.window);
|