Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It can absolutely be written in JavaScript (it is a Turing complete language after all), and it is a common utility function found in most general utility libraries like Lodash and Ramda.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: