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
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
js
/
regress
/
script-tests
/
string-concat-object.js
blob
7243c41d994dd4b360bcfdf83c656c537ccffeef
1
function
foo
(
a
) {
2
return
"foo"
+
new
String
(
a
) +
"bar"
;
3
}
4
5
var
result
;
6
for
(
var
i
=
0
;
i
<
100000
; ++
i
)
7
result
=
foo
(
"hello"
);
8
9
if
(
result
!=
"foohellobar"
)
10
throw
"Error: bad result: "
+
result
;