1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-18 13:22:55 -05:00
denoland-deno/tests/specs/run/unstable/node_globals.ts
2024-11-21 16:27:37 +00:00

7 lines
329 B
TypeScript

import * as nodeBuffer from "node:buffer";
import * as nodeTimers from "node:timers";
console.log(`global: ${globalThis === global}`);
console.log(`Buffer: ${Buffer.from}`);
console.log(`setImmediate: ${setImmediate === nodeTimers.setImmediate}`);
console.log(`clearImmediate: ${clearImmediate === nodeTimers.clearImmediate}`);