1 2 | javascript:x=20;for(i=0;i<=5;i++){x*=2;x+=i}alert(x) |
1
2
3
4
5 | var x = 20; for (var i = 0; i < 6; i++;x+=i) x*=2; alert(x); |
1 | javascript:for(i=0,x=20;i<6;i++,x+=i)x*=2;alert(x) |
1 | javascript:for(i=0,x=20;i<6;x+=i++)x*=2;alert(x) |
1 | javascript:for(i=0,x=20;i<6;x+=i++)x*=2;alert(x) |
1 | javascript:for(i=0,x=20;i<6;x+=x+i++);alert(x) |
Quote from nootherApr 22, 2011 - 23:52:32
Apart from the obvious javascript:alert(1337)
GeSHi`ed javascript code
1 javascript:for(i=0,x=20;i<6;x+=x+i++);alert(x)
2 less