michael@0: function f(code) { michael@0: a = code.replace(/s/, ""); michael@0: wtt = a michael@0: code = code.replace(/\/\*DUPTRY\d+\*\//, function(k) { michael@0: n = parseInt(k.substr(8), 0); michael@0: return g("try{}catch(e){}", n) michael@0: }); michael@0: f = eval("(function(){" + code + "})") michael@0: if (typeof disassemble == 'function') { michael@0: disassemble("-r", f) michael@0: } michael@0: } michael@0: function g(s, n) { michael@0: if (n == 0) { michael@0: return s michael@0: } michael@0: s2 = s + s michael@0: r = n % 2 michael@0: d = (n - r) / 2 michael@0: m = g(s2, d) michael@0: return r ? m + s : m michael@0: } michael@0: f("switch(''){default:break;/*DUPTRY525*/}")