projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
basic
/
testReplace2.js
1
function testReplace2() {
2
var s = "H e l l o", s1;
3
for (i = 0; i < 100; ++i)
4
s1 = s.replace(" ", "");
5
return s1;
6
}
7
assertEq(testReplace2(), "He l l o");