<gh_stars>10-100
module.exports = function(expect) {
	let foo = function(x, ...items) {
		if(x === void 0 || x === null) {
			x = 24;
		}
		let y = 42;
		return [x, items, y];
	};
	expect(foo()).to.eql([24, [], 42]);
	expect(foo(1)).to.eql([1, [], 42]);
	expect(foo(1, 2)).to.eql([1, [2], 42]);
	expect(foo(1, 2, 3, 4)).to.eql([1, [2, 3, 4], 42]);
};