4 ms·
Although it obviously isn't quite the same. I wonder what is the test result for no return vs return true
by dreen 13y ago
Although it obviously isn't quite the same. I wonder what is the test result for no return vs return true
- Tarang 13y agoStill faster, check revision 6 http://jsperf.com/always-return-on-jquery-events/6 http://jsperf.com/always-return-on-jquery-events/6 revision 7 http://jsperf.com/always-return-on-jquery-events/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.