Closed hitsthings closed 12 years ago
The first form isn't an antipattern, IMO. Paul Irish explicitly said the latter forms were only superior for bookmarklets. So I ran a jsperf and linked it here so people can compare for themselves.
@hitsthings yeah, a comment like this is definitely needed to make the point clear, thanx a lot for the pull request
The first form isn't an antipattern, IMO. Paul Irish explicitly said the latter forms were only superior for bookmarklets. So I ran a jsperf and linked it here so people can compare for themselves.