michael@0: try { michael@0: function g(code) { michael@0: code = code.replace(/\/\*DUPTRY\d+\*\//, function(k) { michael@0: var n = parseInt(k.substr(8), 10); michael@0: return aa("try{}catch(e){}", n); michael@0: }); michael@0: var f = new Function(code); michael@0: f() michael@0: } michael@0: function aa(s, n) { michael@0: if (n == 1) { michael@0: return s; michael@0: } michael@0: var s2 = s + s; michael@0: var r = n % 2; michael@0: var d = (n - r) / 2; michael@0: var m = aa(s2, d); michael@0: return r ? m + s : m; michael@0: } michael@0: g("switch(x){default:case l:/*DUPTRY5338*/case 0:x}"); michael@0: } catch (e) {}