I have a simple function which I am trying to rewrite in es6 but I am not getting it
Where arr1 and arr2 are multidimensional arrays of different widths i.e. arr1[0].