UNPKG

@babel/runtime

Version:
9 lines (8 loc) 287 B
import getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf"; export default function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = getPrototypeOf(object); if (object === null) break; } return object; }