Sign in
webkit
/
WebKit
/
6372d18ed2fb0e5306b33bd85febb537c2fcf56a
/
.
/
JSTests
/
microbenchmarks
/
string-concat-pair-simple.js
blob: 731d46b6e58a0c976023042e4bce5e48c95cafb1 [
file
] [
log
] [
blame
]
function
foo
(
a
)
{
return
"foo"
+
a
;
}
var
result
;
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
result
=
foo
(
"hello"
);
if
(
result
!=
"foohello"
)
throw
"Error: bad result: "
+
result
;