main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
268 bytes
|
Rev | Line | |
---|
[d24f17c] | 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 | return object;
|
---|
| 8 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.