mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 23:41:04 +03:30
9 lines
266 B
JavaScript
Vendored
9 lines
266 B
JavaScript
Vendored
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;
|
|
} |