FTL should simplify StringReplace with an empty replacement string
[WebKit-https.git] / LayoutTests / js / regress / script-tests / string-replace.js
1 (function() {
2     var result;
3     for (var i = 0; i < 400000; ++i) {
4         result = "foo".replace(/f/g, "b");
5     }
6     if (result != "boo")
7         throw "Error: bad result: "+ result;
8 })();