How to check equality of two objects which is one object type is number other one comes as a string type but a number
var object1 = {  
        x1: "1.000000",
        x2: undefined,
        x3: "1.0",
        x4: "1.0" 
};
var object2 = {  
        x1: 1,
        x2: undefined,
        x2: 1,
        x4: 1 
};
lodash returns false for above scenario. _.isEqual(object1, object2);
 
     
     
    