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

17 lines
384 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
var _get = require("./_get.cjs");
var _set = require("./_set.cjs");
exports._ = exports._update = _update;
function _update(target, property, receiver, isStrict) {
return {
get _() {
return _get._(target, property, receiver);
},
set _(value) {
_set._(target, property, value, receiver, isStrict);
}
};
}