Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
JavaScript alternative
1
Name:
Anonymous
2008-12-24 12:26
Is there any language similar to javascript but which can compile to binary?
28
Name:
Anonymous
2008-12-24 15:53
>>13
Javascript:
function factorial(n)
{
if (n == 0)
return 1;
else
return n * factorial(n - 1);
}
--notice the difference
Lua:
function factorial(x)for i=1,x-1 do x=x*i end return x end
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List