function toArr() { return Array.prototype.slice.call(arguments); }
assert.sameValue(toArr(1, 2, 3).join(","), "1,2,3", "slice.call(arguments)");
function dbl() { return Array.prototype.map.call(arguments, function (x) { return x * 2; }); }
assert.sameValue(dbl(1, 2, 3).join(","), "2,4,6", "map.call");
assert.sameValue(Array.prototype.filter.call([1, 2, 3, 4], function (x) { return x % 2 === 0; }).join(","), "2,4", "filter.call");
assert.sameValue(Array.prototype.reduce.call([1, 2, 3], function (a, b) { return a + b; }, 0), 6, "reduce.call");
assert.sameValue(Array.prototype.join.call([1, 2, 3], "-"), "1-2-3", "join.call");
assert.sameValue(Array.prototype.indexOf.call([1, 2, 3], 2), 1, "indexOf.call");
assert.sameValue(Array.prototype.slice.call([1, 2, 3, 4], 1, 3).join(","), "2,3", "slice.call with bounds");
assert.sameValue(Array.prototype.concat.apply([1], [[2, 3]]).join(","), "1,2,3", "concat.apply");
assert.sameValue(typeof Array.prototype, "object", "Array.prototype is an object");
assert.sameValue(Array.isArray(Array.prototype), false, "not an array");
assert.sameValue(Object.keys(Array.prototype).length, 0, "methods are non-enumerable");
assert.sameValue(Array.prototype.constructor, Array, "constructor link");
assert.sameValue([1, 2, 3].map(function (x) { return x + 1; }).join(","), "2,3,4", "normal map");