mirror of
https://github.com/denoland/deno.git
synced 2025-09-23 02:42:34 +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
84 B
JavaScript
4 lines
84 B
JavaScript
import "npm:@denotest/check-worker-globals/inverse";
|
|
|
|
console.log(5);
|
|
self.close();
|