toSetter.js 215 B

12345678910
  1. 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. }
  10. export { _toSetter as default };