blob: f4e1a936c1c72e7a1ed53b3770335feb023d29af [file] [log] [blame]
(function() {
var result;
for (var i = 0; i < 400000; ++i) {
result = "foo".replace(/f/g, 42);
}
if (result != "42oo")
throw "Error: bad result: "+ result;
})();