7 ms·
A common API is something like lodash's `partition` so you don't have to loop over the same Array multiple times: https://lodash.com/docs/#partition https://lod
by TimothyBJacobs 5y ago
A common API is something like lodash's `partition` so you don't have to loop over the same Array multiple times: https://lodash.com/docs/#partition https://lodash.com/docs/#partition