for (var i = 0; i < 1e4; i++)
  assertEq(new Array(0, undefined).length, 2, "bad, i: " + i);