1890252.js (335B)
1 // |jit-test| --more-compartments 2 3 var threw = false; 4 try { 5 const v2 = evalcx("lazy"); 6 const o4 = { 7 "global": v2, 8 }; 9 o4.envChainObject = v2; 10 evaluate("{ let eval = parseInt; eval()}", o4); 11 } catch (e) { 12 threw = true; 13 assertEq(e.toString().includes("envChainObject"), true); 14 } 15 assertEq(threw, true);