Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
269 bytes
|
Line | |
---|
1 | import getPrototypeOf from "./getPrototypeOf.js";
|
---|
2 | export default function _superPropBase(object, property) {
|
---|
3 | while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
---|
4 | object = getPrototypeOf(object);
|
---|
5 | if (object === null) break;
|
---|
6 | }
|
---|
7 |
|
---|
8 | return object;
|
---|
9 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.