Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ checkReturn
Function
checkReturn
deps/v8/test/mjsunit/wasm/ffi.js:230–232 ·
view source on GitHub ↗
(expected)
Source
from the content-addressed store, hash-verified
228
229
230
function
checkReturn(expected) {
231
return
function
(r, a, b) { assertEquals(expected, r); }
232
}
233
234
// Check that returning weird values doesn't crash
235
testCallFFI(returnValue(undefined), checkReturn(0));
Callers
1
ffi.js
File · 0.70
Calls
1
assertEquals
Function · 0.50
Tested by
no test coverage detected