just a logo :)



Busy Beaver in Javascript
Entry Nr. 1538, by user 1
Imagine Javascript had infinite big numbers. What function that fits into a line of 80 characters length would return the biggest number?

The current Champion is the following function from benjoffe whom I met on the #startups irc channel:

function f(){a=b=c=2;while(a++<9e999999){while(b--)c=Math.pow(c,c);b=c}return c}

I did not really wrap my head around that one though. Will do so one of these days. Here is another one, that I understand (also from benjoffe):

function f(){x=i=2;while(i++<9e99999999999999999999999)x=Math.pow(x,x);return x}