frontend/.pnpm-store/v3/files/2b/0268e5f2ac44773db9be8f4719f073e62bb2320af3f31915a412a907fdf08697ac6cf28a960ddfd66ff0ecbd7f230e9fa88c54bf90bbaaae8f1cf4a547a214

12 lines
273 B
Plaintext

import { reduce } from './reduce';
function toArrayReducer(arr, item, index) {
if (index === 0) {
return [item];
}
arr.push(item);
return arr;
}
export function toArray() {
return reduce(toArrayReducer, []);
}
//# sourceMappingURL=toArray.js.map