3 ms·I would probably just copy the implementation from lodash or stackoverflow and fix it up.by quechimba 4y agoI would probably just copy the implementation from lodash or stackoverflow and fix it up.