function union(...arrays) {
	return [...new Set(arrays.flat())];
}
Computes the union of one or more arrays
@param {...any[]} arrays One or more arrays to union
@returns {any[]} The union of the input arrays