A faster JavaScript Trim

This is an older article, but Steven Levithan has an article posted on his site regarding how to do a faster trim function in JavaScript. His demo page has eleven different trim implementations and some example text to test them out on.

via Ajaxian.

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment