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

Function createWeakRef

test/object/finalizer.js:8–10  ·  view source on GitHub ↗
(binding, bindingToTest)

Source from the content-addressed store, hash-verified

6module.exports = require('../common').runTest(test);
7
8function createWeakRef (binding, bindingToTest) {
9 return binding.object[bindingToTest]({});
10}
11
12function test (binding) {
13 let obj1;

Callers 1

testFunction · 0.85

Calls

no outgoing calls

Tested by 1

testFunction · 0.68