Functions appendMany(values, array) and prependMany(values, array), which are alternatives to Array.prototype.push(...values) and Array.prototype.unshift(...values)