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