3 module.exports = function (t, a) {
5 a(t.call([]), null, "Empty");
6 a(t.call([null]), 0, "One value");
7 a(t.call([1, 2, 3]), 2, "Many values");
8 a(t.call(new Array(1000)), null, "Sparse empty");
12 a(t.call(x), 890, "Manual sparse, distant value");
16 a(t.call(x), 700, "Sparse, distant value");