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

At my company we just have a wrapper around the Object.keys function (and other similar functions) that provide a more specific type in case you are sure it won’t be a problem (which we generally are for objects we’ve created ourselves).


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

Search: