mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00

Follow up to https://github.com/denoland/deno/pull/29543 that does the same for `self` global. Unfortunately this omission led to a problem described in https://github.com/denoland/deno/issues/29726 where packages started thinking that they are being run in a web worker context (because they are!) but the expected "self" global is not there.
4 lines
82 B
JavaScript
4 lines
82 B
JavaScript
import "npm:@denotest/check-worker-globals";
|
|
|
|
console.log(4);
|
|
globalThis.close();
|