repo.or.cz
/
tinyjs-rewrite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
formatting 90% done; encapsulated everything in the TinyJS namespace, and renamed...
[tinyjs-rewrite.git]
/
.svn
/
pristine
/
b5
/
b58138e16a5cb393ac32ef3c145f1654806e5484.svn-base
blob
4eaf641a1725225db8c02f9dbebd2fadd901bcfc
1
// recursion
2
function a(x) {
3
if (x>1)
4
return x*a(x-1);
5
return 1;
6
}
7
result = a(5)==1*2*3*4*5;