summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/fused-eq-ifeq.js
blob: b5d2bf2f61b8d5cd80e233ce2004f20fed29425a (plain)
1
2
3
4
5
6
function ack(m,n){
   if (m==0) { return n+1; }
   if (n==0) { return ack(m-1,1); }
   return ack(m-1, ack(m,n-1) );
}
assertEq(ack(3, 3), 61);