blob: 329dffb1a4be1f87f7cbf7cbc1404d6b17a099d0 [file] [log] [blame]
(function() {
var array = new Array(300);
for (var i = 0; i < 300; i++)
array[i] = i % 10;
var compacted;
for (var j = 0; j < 30000; j++)
compacted = array.filter(Boolean);
if (compacted.length !== 270)
throw new Error("Bad assert!");
})();