A tweet-sized, fork-to-play, community-curated collection of JavaScript.
- Click the
button above to fork this gist.
- Modify all the files to according to the rules and style guide below.
- Save your entry and tweet it up!
The 140byt.es site hasn't launched yet, but for now follow @140bytes on Twitter.
The whitespace included in the character class
\s
is inconsistent across browsers. Instead a manual check of the required whitespace - is - best.Also browsers like Chrome have a bug where
String.prototype.trim = ''.trim
will causeString#trim
to become enumerable.