ex: a1 = [1,2,3] a2= [1,2,3,''] diffArrays will think these two array has no difference even with options of ignoreWhitespace: false