Projekt

Obecné

Profil

Stáhnout (289 Bajtů) Statistiky
| Větev: | Revize:
1
var getPrototypeOf = require("./getPrototypeOf");
2

    
3
function _superPropBase(object, property) {
4
  while (!Object.prototype.hasOwnProperty.call(object, property)) {
5
    object = getPrototypeOf(object);
6
    if (object === null) break;
7
  }
8

    
9
  return object;
10
}
11

    
12
module.exports = _superPropBase;
(66-66/80)