Sha256: 3c1ce34181f6c2ecb57f27b482f8b97244c72ff3c67690d4f43079d41f9d0f67

Contents?: true

Size: 266 Bytes

Versions: 58

Compression:

Stored size: 266 Bytes

Contents

import getPrototypeOf from "./getPrototypeOf";
export default function _superPropBase(object, property) {
  while (!Object.prototype.hasOwnProperty.call(object, property)) {
    object = getPrototypeOf(object);
    if (object === null) break;
  }

  return object;
}

Version data entries

58 entries across 48 versions & 8 rubygems

Version Path
trusty-cms-4.2.1 node_modules/@babel/runtime/helpers/esm/superPropBase.js
trusty-cms-4.2 node_modules/@babel/runtime/helpers/esm/superPropBase.js
trusty-cms-4.1.9 node_modules/@babel/runtime/helpers/esm/superPropBase.js
trusty-cms-4.1.8 node_modules/@babel/runtime/helpers/esm/superPropBase.js
tang-0.2.0 spec/tang_app/node_modules/@babel/runtime/helpers/esm/superPropBase.js
trusty-cms-4.1.7 node_modules/@babel/runtime/helpers/esm/superPropBase.js
tang-0.1.0 spec/tang_app/node_modules/@babel/runtime/helpers/esm/superPropBase.js
tang-0.0.9 spec/tang_app/node_modules/@babel/runtime/helpers/esm/superPropBase.js
trusty-cms-4.1.6 node_modules/@babel/runtime/helpers/esm/superPropBase.js
trusty-cms-4.1.5 node_modules/@babel/runtime/helpers/esm/superPropBase.js
enju_library-0.3.8 spec/dummy/node_modules/@babel/runtime/helpers/esm/superPropBase.js
condenser-0.3 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/superPropBase.js
condenser-0.3 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/superPropBase.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/superPropBase.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/superPropBase.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/superPropBase.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/superPropBase.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/esm/superPropBase.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/superPropBase.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/superPropBase.js