lib/object.js
function(refObj) {
        var instance = this,
            keys = Object.getOwnPropertyNames(instance),
            l = keys.length,
            i = -1,
            same, key;
        same = (l===refObj.itsa_size(true));
        // loop through the members:
        while (same && (++i < l)) {
            key = keys[i];
            same = refObj.hasOwnProperty(key) ? valuesAreTheSame(instance[key], refObj[key]) : false;
        }
        return same;
    }
function(refObj) {
        var instance = this,
            keys = Object.getOwnPropertyNames(instance),
            l = keys.length,
            i = -1,
            same, key;
        same = (l===refObj.itsa_size(true));
        // loop through the members:
        while (same && (++i < l)) {
            key = keys[i];
            same = refObj.hasOwnProperty(key) ? valuesAreTheSame(instance[key], refObj[key]) : false;
        }
        return same;
    }
function ( refObj ) { var instance = this , keys = Object . getOwnPropertyNames ( instance ) , l = keys . length , i = - 1 , same , key ; same = ( l === refObj . itsa_size ( true ) ) ; // loop through the members: while ( same && ( ++ i < l ) ) { key = keys [ i ] ; same = refObj . hasOwnProperty ( key ) ? valuesAreTheSame ( instance [ key ] , refObj [ key ] ) : false ; } return same ; }
Compares this object with the reference-object whether they have the same value.
Not by reference, but their content as simple types.

Compares both JSON.stringify objects

@method itsa_sameValue
@param refObj {Object} the object to compare with
@return {Boolean} whether both objects have the same value
Compares this object with the reference - object whether they have the same value . Not by reference but their content as simple types .