0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-05 10:26:44 -05:00
deno/tests/specs/check/instability_fetch/main.ts
David Sherret 03e4234962
fix(check): remove instability in loading lib files (#28202)
Also reduces memory usage.

Closes #28201
2025-02-20 12:41:58 -05:00

2 lines
98 B
TypeScript

const fetch2 = globalThis["fetch"];
await fetch2.call(globalThis, "https://www.example.com", {});