From db23d79d609fcbee6cdea180bf991b950dd6d1da Mon Sep 17 00:00:00 2001 From: "Diego F.(EW7)" Date: Tue, 4 Oct 2016 10:40:51 -0300 Subject: [PATCH] Object/Object --- lib/discrepances.js | 10 +++++++++- test/test.js | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) 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