10 lines
215 B
JavaScript
10 lines
215 B
JavaScript
function _toSetter(t, e, n) {
|
|
e || (e = []);
|
|
var r = e.length++;
|
|
return Object.defineProperty({}, "_", {
|
|
set: function set(o) {
|
|
e[r] = o, t.apply(n, e);
|
|
}
|
|
});
|
|
}
|
|
export { _toSetter as default }; |