repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
js
/
regress
/
script-tests
/
string-concat-simple.js
blob
6f662dc4145d27b856b99436d0db2fe065120ca7
1
function foo(a) {
2
return "foo" + a + "bar";
3
}
4
5
var result;
6
for (var i = 0; i < 1000000; ++i)
7
result = foo("hello");
8
9
if (result != "foohellobar")
10
throw "Error: bad result: " + result;