求教,这样写有木有问题?
function arraysSimilar(arr1, arr2){ if(arr1.length == arr2.length){ for(var i=0;i<arr1.length;i++){ if(Object.prototype.toString.apply(arr1[i]) == Object.prototype.toString.apply(arr2[i])){ continue; } return false; } return true; } return false; }