runtime environment

The environment code runs in, including which engine executes it and which built-in APIs it can use.

In more detail

The same JavaScript can behave differently in a browser, Node.js or an edge platform because each offers different built-in APIs. "At runtime" also means while the program is running, as opposed to at build time.

Example

Next.js server code runs in either the Node.js runtime or the Edge runtime.

Related terms

Taught in

References

Certification courses