RadLikeWhoa/Countable — pull request #4 by epmatsw (2013-03-12 01:07:59+00:00)
Title: Use native javascript trim() when available

Instead of always using a regex replace, it will use the native trim
function when available. This results in increased performance on every
system with trim() implemented (Firefox 3, Opera 11, Safari 5.x, Chrome
10, Internet Explorer 9 in standards mode).

Benchmarks: http://jsperf.com/wds1/10