repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
string-replace-empty.js
blob
708917befc9407f6042613a54d06ef0c2463ef76
1
(function() {
2
var result;
3
for (var i = 0; i < 400000; ++i) {
4
result = "foo".replace(/f/g, "");
5
}
6
if (result != "oo")
7
throw "Error: bad result: "+ result;
8
})();