blob: eabdb12dc47c36710642cab83f7d87469eb6d7c7 [file] [log] [blame]
function jit(on)
{
if (on && !options().match(/tracejit/)) { }
}
try { test(); } catch (e) {}
function test(
)
{
for (var j=0;j<5;++j) { switch(1.1) { case 2: case NaN: } }
jit(false);
reportCompare('xxxxxxx'.test(new j('(x+)(x*)')));
}