Sign in
nest-open-source
/
manifest_repos
/
chromium_src
/
1389d67935ffbffe8a70c1fa06867f6cf7ecf464
/
.
/
chromium
/
src
/
third_party
/
blink
/
web_tests
/
fast
/
js
/
regress
/
script-tests
/
string-concat-object.js
blob: 7243c41d994dd4b360bcfdf83c656c537ccffeef [
file
] [
log
] [
blame
]
function
foo
(
a
)
{
return
"foo"
+
new
String
(
a
)
+
"bar"
;
}
var
result
;
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
result
=
foo
(
"hello"
);
if
(
result
!=
"foohellobar"
)
throw
"Error: bad result: "
+
result
;