sum.js
function accessor(object) {
    var ref = object || (1, eval)('this');
    var len = parts.length;
    var idx = 0;

    // iteratively save each segment's reference
    for (; idx < len; idx += 1) {
      if (ref) ref = ref[parts[idx]];
    }

    return ref;
  }
function accessor(object) {
    var ref = object || (1, eval)('this');
    var len = parts.length;
    var idx = 0;

    // iteratively save each segment's reference
    for (; idx < len; idx += 1) {
      if (ref) ref = ref[parts[idx]];
    }

    return ref;
  }
function accessor ( object ) { var ref = object || ( 1 , eval ) ( 'this' ) ; var len = parts . length ; var idx = 0 ; // iteratively save each segment's reference for ( ; idx < len ; idx += 1 ) { if ( ref ) ref = ref [ parts [ idx ] ] ; } return ref ; }
Accessor function that accepts an object to be queried

@private

@param  {Object} object
object to access

@return {Mixed}
value at given reference or undefined if it does not exist
Accessor function that accepts an object to be queried