MCPcopy Create free account
hub / github.com/RubyLouvre/anu / getEntry

Function getEntry

test/babel.js:48007–48016  ·  view source on GitHub ↗
(that, key)

Source from the content-addressed store, hash-verified

48005 SIZE = DESCRIPTORS ? '_s' : 'size';
48006
48007 var getEntry = function getEntry(that, key) {
48008 // fast case
48009 var index = fastKey(key),
48010 entry;
48011 if (index !== 'F') return that._i[index];
48012 // frozen object case
48013 for (entry = that._f; entry; entry = entry.n) {
48014 if (entry.k == key) return entry;
48015 }
48016 };
48017
48018 module.exports = {
48019 getConstructor: function getConstructor(wrapper, NAME, IS_MAP, ADDER) {

Callers 1

babel.jsFile · 0.85

Calls 1

fastKeyFunction · 0.85

Tested by

no test coverage detected