Re:Signs of a poorly written jQuery plugin
by dhimes on Thursday June 03, 2010 @12:23PM
(#1401726)
For the inline return:
I'm actually surprised that the JS engines don't do this kind of optimization automatically.
[ Parent
| on HN ]
Re:Signs of a poorly written jQuery plugin
by tlrobinson on Thursday June 03, 2010 @01:34PM
(#1401921)
It's quite possible some of them do, but the performance difference is probably negligible anyway, it's just extra code that doesn't need to exist.