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.js
blob
56e152cb9e987079586c9474af90ed45ab845e64
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
})();