MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / getEntry

Function getEntry

lib/web/polyfill.js:1586–1594  ·  view source on GitHub ↗
(that, key)

Source from the content-addressed store, hash-verified

1584 } return 'O' + it[UID];
1585 }
1586 function getEntry(that, key){
1587 // fast case
1588 var index = fastKey(key), entry;
1589 if(index != 'F')return that[O1][index];
1590 // frozen object case
1591 for(entry = that[FIRST]; entry; entry = entry.n){
1592 if(entry.k == key)return entry;
1593 }
1594 }
1595 function def(that, key, value){
1596 var entry = getEntry(that, key)
1597 , prev, index;

Callers 2

defFunction · 0.85
polyfill.jsFile · 0.85

Calls 1

fastKeyFunction · 0.85

Tested by

no test coverage detected