1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// |jit-test| error:ReferenceError function fannkuch(n) { var perm1 = Array(n); while (true) { if (check < 30){ for(var i=0; i<n; i++) s += (perm1[i]+1).toString(); while (i < r) { var j = this.abstract + 1; perm1[i] = perm1[j]; } } } } fannkuch(8);