function testReverseArgTypes() { for (var j = 0; j < 4; ++j) ''.replace('', /x/); return 1; } assertEq(testReverseArgTypes(), 1);