Returns an array of items that appear in at least two of the given arrays.
function common<T>(...arrs: T[][]): T[]
// Example:
const arr1 = [1, 2, 3, 4]
const arr2 = [3, 4, 5, 6]
const arr3 = [4, 5, 6, 7]
common(arr1, arr2, arr3) //=> [3, 4, 5, 6]