lost+found/src/like.js
function (a, b) {
        var me = this,
            membersOfA = Object.keys(a);
        // a members comparison with b
        if (!membersOfA.every(function (member) {
            return me.like(a[member], b[member]);
        })) {
            return true;
        }
        // Difference on members count?
        return membersOfA.length  !== Object.keys(b).length;
    }
function (a, b) {
        var me = this,
            membersOfA = Object.keys(a);
        // a members comparison with b
        if (!membersOfA.every(function (member) {
            return me.like(a[member], b[member]);
        })) {
            return true;
        }
        // Difference on members count?
        return membersOfA.length  !== Object.keys(b).length;
    }
function ( a , b ) { var me = this , membersOfA = Object . keys ( a ) ; // a members comparison with b if ( ! membersOfA . every ( function ( member ) { return me . like ( a [ member ] , b [ member ] ) ; } ) ) { return true ; } // Difference on members count? return membersOfA . length !== Object . keys ( b ) . length ; }
Check if members are different

@param {*} a
@param {*} b
@returns {Number}
Check if members are different