Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / regress / script-tests / string-concat-object.js
blob7243c41d994dd4b360bcfdf83c656c537ccffeef
1 function foo(a) {
2 return "foo" + new String(a) + "bar";
5 var result;
6 for (var i = 0; i < 100000; ++i)
7 result = foo("hello");
9 if (result != "foohellobar")
10 throw "Error: bad result: " + result;