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 below.
- Save your entry and tweet it up!
All entries must exist in an index.js file, whose contents are
- a valid Javascript function expression, that
- optionally self-executes,
- contains no more than 140 bytes, and
- does not pollute global scope.
All entries must also be licensed under the MIT license.
The 140byt.es site hasn't launched yet, but for now follow @140bytes on Twitter.
140byt.es is brought to you by Jed Schmidt. It was inspired by work from Thomas Fuchs and Dustin Diaz.

I just tried your example ('Robert'), but I think I managed to remove 2 bytes (haha, not quite enough) by moving the regex object into the for loop:
var myFunction = function(a,b,c){for(c in b={aehiouwy:"",bfpv:1,cgjkqsxz:2,dt:3,l:4,mn:5,r:6,"]|(\d)\1+|[":"$1"})a=a[0]+a.substr(1).replace(RegExp("["+c+"]","g"),b[c])+0;return a.substr(0,4)};