securityos/node_modules/@swc/helpers/esm/_define_property.js

9 lines
269 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
export 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;
}
export { _define_property as _ };