blob: b8daf83bde1e68b2f1b219e410ba3ff2b144798a [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(function() {
var array = [true, false, null, void 0];
for (var i = 0; i < 1000000; ++i) {
for (var j = 0; j < array.length; ++j) {
for (var k = j ; k < array.length; ++k) {
var actual = array[j] === array[k];
var expected = j == k;
if (actual != expected)
throw "Error: bad result for j = " + j + ", k = " + k;
}
}
}
})();