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

Function returnValue

deps/v8/test/mjsunit/wasm/ffi.js:222–227  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

220testCallFFI(FOREIGN_ARGUMENTS4, check_FOREIGN_ARGUMENTS);
221
222function returnValue(val) {
223 return function(a, b) {
224 print("RETURN_VALUE ", val);
225 return val;
226 }
227}
228
229
230function checkReturn(expected) {

Callers 1

ffi.jsFile · 0.70

Calls 1

printFunction · 0.50

Tested by

no test coverage detected