toSetter.js 197 B

123456789
  1. export default function _toSetter(t, e, n) {
  2. e || (e = []);
  3. var r = e.length++;
  4. return Object.defineProperty({}, "_", {
  5. set: function set(o) {
  6. e[r] = o, t.apply(n, e);
  7. }
  8. });
  9. }