blob: f9f9945f41e1b8b369a89bc1a7d47938b9671639 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function foo(a) {
return new String(a);
}
var result;
for (var i = 0; i < 1000000; ++i)
result = foo("hello");
if (result != "hello")
throw new "Error: bad result: " + result;