blob: 8e443645edba556b8f0664d94e3e41bf7a7abaf3 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
var value1 = "hello";
var value2 = 42;
(function() {
var result = 0;
for (var i = 0; i < 1000000; ++i) {
result += (typeof value1 == "string");
result += (typeof value2 == "string") << 1;
}
if (result != 1000000)
throw "Error: bad result: " + result;
})();