Hello
This fork isn't really a 140bytes entry, but a challenge!
What if a tweet (140 utf-16 characters) could execute more than 140 characters of JavaScript code?
thanks to subzey's help, a tweet can execute 190 js chars.
Encoder:
z=function(b,c,a,f){c="";f=String.fromCharCode;for(a=0;190>a;a+=2)c+=f(55296+b.charCodeAt(a))+f(56320+b.charCodeAt(a+1));return c}
Decoder / Executer (140 chars): (replace xxxx with your encoded JS string)
eval(unescape(escape("xxxx").replace(/uD./g,'')))
Demo:
Alas, this leaks a and i into the global scopes, which is a violation of our rules. Still, it's a pretty interesting feat.