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

Function createMapData

test/fixtures/snapshot/typescript.js:97–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95var ts;
96(function (ts) {
97 function createMapData() {
98 var sentinel = {};
99 sentinel.prev = sentinel;
100 return { head: sentinel, tail: sentinel, size: 0 };
101 }
102 function createMapEntry(key, value) {
103 return { key: key, value: value, next: undefined, prev: undefined };
104 }

Callers 2

MapFunction · 0.85
SetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected