MCPcopy Index your code
hub / github.com/nodejs/node / checkReturn

Function checkReturn

deps/v8/test/mjsunit/wasm/import-function.js:152–154  ·  view source on GitHub ↗
(expected)

Source from the content-addressed store, hash-verified

150
151
152function checkReturn(expected) {
153 return function(r, a, b) { assertEquals(expected, r); }
154}
155
156// Check that returning weird values doesn't crash
157testCallImport(returnValue(undefined), checkReturn(0));

Callers 1

import-function.jsFile · 0.70

Calls 1

assertEqualsFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…