@mapcss/core
Version:
Tiny, composable Atomic CSS engine
17 lines (16 loc) • 595 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// https://github.com/tc39/proposal-accessible-object-hasownproperty/blob/main/polyfill.js
if (!Object.hasOwn) {
Object.defineProperty(Object, "hasOwn", {
value: function (object, property) {
if (object == null) {
throw new TypeError("Cannot convert undefined or null to object");
}
return Object.prototype.hasOwnProperty.call(Object(object), property);
},
configurable: true,
enumerable: false,
writable: true,
});
}