140charsJS retweeted
Replying to @140charsJS
@140charsJS on old V8 - true. But they've changed this stupid behavior. No it is an object and it is not callable. Same in Fx.
140charsJS retweeted
Replying to @140charsJS
@140charsJS hex to rgb: "#00FF00".match(/(\w{2})/gi).map(function(n){return parseInt(n,16);});
140charsJS retweeted
Replying to @140charsJS
@140charsJS for(b=[],o='',i=c=0;u=s[i];){b[i++]=0;u=='.'&&(o+=b[c]);u=='+'&&++b[c];u=='-'&&--b[c];u=='>'&&++c;u=='<'&&--c};o
HopeItWorks:D
140charsJS retweeted
Replying to @140charsJS
@140charsJS Number padding var n = 221; ('00000000'+n).slice(-8); Any other not trivial idea like for loop? :>
140charsJS retweeted
Replying to @140charsJS
@140charsJS 4 chars less: n = 123456; for(r='';n;n=n/10|0)r+=n%10,+r; :P


