MCPcopy Index your code
hub / github.com/immutable-js/immutable-js / makeMap

Function makeMap

src/Map.js:681–689  ·  view source on GitHub ↗
(size, root, ownerID, hash)

Source from the content-addressed store, hash-verified

679}
680
681function makeMap(size, root, ownerID, hash) {
682 const map = Object.create(MapPrototype);
683 map.size = size;
684 map._root = root;
685 map.__ownerID = ownerID;
686 map.__hash = hash;
687 map.__altered = false;
688 return map;
689}
690
691let EMPTY_MAP;
692export function emptyMap() {

Callers 3

__ensureOwnerMethod · 0.85
emptyMapFunction · 0.85
updateMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected