Last change
on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
370 bytes
|
Line | |
---|
1 | var getPrototypeOf = require("./getPrototypeOf.js");
|
---|
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;
|
---|
13 | module.exports["default"] = module.exports, module.exports.__esModule = true; |
---|
Note:
See
TracBrowser
for help on using the repository browser.