MCPcopy Create free account
hub / github.com/nodejs/node-addon-api /

Class

test/function_reference.js:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 throw e;
134 };
135 const classMayThrow = class {
136 constructor () {
137 throw e;
138 }
139 };
140
141 const newRef = binding.CreateFuncRefWithNew(120);
142 assert(newRef.getValue() === 120);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected