mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 01:51:07 +03:30
12 lines
289 B
JavaScript
Vendored
12 lines
289 B
JavaScript
Vendored
var getPrototypeOf = require("./getPrototypeOf");
|
|
|
|
function _superPropBase(object, property) {
|
|
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
|
object = getPrototypeOf(object);
|
|
if (object === null) break;
|
|
}
|
|
|
|
return object;
|
|
}
|
|
|
|
module.exports = _superPropBase; |