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

My bad, '({}).toString.call([1,2,3])'.

Because type introspection is so ugly in JS, but so needed, that it's hidden behind 'require('is-array')' to make it palatable. Ridiculous.



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

Search: