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

11 lines
300 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
exports._ = exports._define_property = _define_property;
function _define_property(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });
} else obj[key] = value;
return obj;
}