So let's say I have a two arrays which consists of numbers.
var arr1 = [1,2,3,4,5];
var arr2 = [1,1,1,4,4,5,5,2];
Is it possible to compare this two arrays in order to get most repeated number in two of them (for this example this number would be "1")? There could be any numbers of any value in arrays.