blob: 05913d33871282d54432c0d1023484c2fb4b8c78 [file] [log] [blame]
(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;
}
}
}
})();