get the global-runtime-object of the given javascript environment RUNTIME enum.
Note
if you acquire the global-runtime-object of an environment that is not supported by your actual current environment,
then the returned value will be undefined.
Example
import { assertEquals } from"jsr:@std/assert" importprocessfrom"node:process"// this works in deno 2.0
get the global-runtime-object of the given javascript environment RUNTIME enum.
if you acquire the global-runtime-object of an environment that is not supported by your actual current environment, then the returned value will be
undefined
.Example