decord/source/__helpers/15xxx/15634__defineProperty.js
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

20 lines
485 B
JavaScript

// Module ID: 15634
// Function ID: 15635
// Name: _defineProperty
// Dependencies: [43]
// Module 15634 (_defineProperty)
import _mod43 from "module_43" /* 43 */;
export default function _defineProperty(arg0, arg1, value) {
const tmp = _mod43(arg1);
if (tmp in arg0) {
const _Object = Object;
const obj = { value, enumerable: true, configurable: true, writable: true };
Object.defineProperty(arg0, tmp, obj);
} else {
arg0[tmp] = value;
}
return arg0;
};