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

Although it obviously isn't quite the same. I wonder what is the test result for no return vs return true


Still faster, check revision 6 http://jsperf.com/always-return-on-jquery-events/6

revision 7 http://jsperf.com/always-return-on-jquery-events/7. Just return vs return true (faster).

But as smilekzs points out revision 3 this might not be about the return statement.




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

Search: