10 lines
286 B
JavaScript
10 lines
286 B
JavaScript
import toPropertyKey from "./toPropertyKey.js";
|
|
function _defineProperty(e, r, t) {
|
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
value: t,
|
|
enumerable: !0,
|
|
configurable: !0,
|
|
writable: !0
|
|
}) : e[r] = t, e;
|
|
}
|
|
export { _defineProperty as default }; |