import value_default from "./value.js";
function genericArray(t, n) {
	var r = n ? n.length : 0, i = t ? Math.min(r, t.length) : 0, a = Array(i), o = Array(r), s;
	for (s = 0; s < i; ++s) a[s] = value_default(t[s], n[s]);
	for (; s < r; ++s) o[s] = n[s];
	return function(e) {
		for (s = 0; s < i; ++s) o[s] = a[s](e);
		return o;
	};
}
export { genericArray };
