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

Regarding "|0", there are absolutely no performance implications. An ASM.js optimising compiler will recognize these code patterns and interpret them completely differently (it will not execute a bit OR operation, and instead will only treat |0 as a type hint)


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

Search: