diff --git a/lib/discrepances.js b/lib/discrepances.js index dfb1214..224a3d8 100644 --- a/lib/discrepances.js +++ b/lib/discrepances.js @@ -59,13 +59,13 @@ discrepances = function discrepances(a, b){ if(classA !== classB) { return {classes:[classA,classB], values:[a,b]}; } else { + var rv = {}; if(classA==='Array') { var res=[]; var max = Math.min(a.length, b.length); for(var i_ab=0; i_ab