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

14 lines
359 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
"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;
}