Find first index where two arrays differ.
an array
another array
compare function (a, b)
map function (v, i, x)
first index where x[i] ≠ y[i], or -1
Generated using TypeDoc
Find first index where two arrays differ.