3 ms·
relatively speaking the windows vs. global should be a non issue. I believe that every js runtime except for IE supports globalThis such that `globalThis.window
by afiori 6y ago
relatively speaking the windows vs. global should be a non issue. I believe that every js runtime except for IE supports globalThis such that `globalThis.window === window` in the browser and `globalThis.global === global` in node.
Deno's difference from node is the choice to implement web API instead of nodejs stdlib API
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...