MCPcopy Create free account
hub / github.com/nodejs/node / assertTrue

Function assertTrue

deps/v8/test/mjsunit/wasm/grow-shared-memory.js:18–23  ·  view source on GitHub ↗
(value, msg)

Source from the content-addressed store, hash-verified

16}
17
18function assertTrue(value, msg) {
19 if (!value) {
20 postMessage("Error: " + msg);
21 throw new Error("Exit"); // To stop testing.
22 }
23}
24
25let workerHelpers = assertTrue.toString() + assertIsWasmSharedMemory.toString();
26

Callers 3

assertIsWasmSharedMemoryFunction · 0.70
workerCodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected