securityos/node_modules/@swc/helpers/cjs/_super_prop_base.cjs

14 lines
359 B
JavaScript

"use strict";
var _get_prototype_of = require("./_get_prototype_of.cjs");
exports._ = exports._super_prop_base = _super_prop_base;
function _super_prop_base(object, property) {
while (!Object.prototype.hasOwnProperty.call(object, property)) {
object = _get_prototype_of._(object);
if (object === null) break;
}
return object;
}