Function: intrinsics()
Documentation / @wtf/project-wpt / builtins / intrinsics
function intrinsics(): Record<string, unknown>;Defined in: packages/project-wpt/src/builtins.ts:79
The language’s built-ins of this realm that cross into a test’s context, each by its name: the
errors, ArrayBuffer, SharedArrayBuffer, DataView, the typed arrays and Promise. An
implementation runs in this realm, and throws its errors and returns its buffers and promises,
which a test asserts by these names: assert_throws_js(TypeError, …) holds of a TypeError
of the realm the name is of. A literal of the test, [], {} or an async function’s promise, is
still of the context’s realm, as is an error the engine throws of the test’s own code.
Returns
Record<string, unknown>
