mirror of
https://github.com/denoland/deno.git
synced 2025-03-04 01:44:26 -05:00

Closes https://github.com/denoland/deno/issues/22315 ``` ~> DENO_FUTURE=1 target/debug/deno > globalThis.window undefined ```
3 lines
85 B
TypeScript
3 lines
85 B
TypeScript
if (typeof window !== "undefined") {
|
|
throw new Error("Window global available");
|
|
}
|