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

That's why you would use it where available, instead of targeting.

if (browser.supportsWebSocket) useWebSocket(); else useComet();



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

Search: