src/auction.js
function createKeyVal(key, value) {
    return {
      key,
      val: (typeof value === 'function')
        ? function (bidResponse) {
          return value(bidResponse);
        }
        : function (bidResponse) {
          return getValue(bidResponse, value);
        }
    };
  }
function createKeyVal(key, value) {
    return {
      key,
      val: (typeof value === 'function')
        ? function (bidResponse) {
          return value(bidResponse);
        }
        : function (bidResponse) {
          return getValue(bidResponse, value);
        }
    };
  }
function createKeyVal ( key , value ) { return { key , val : ( typeof value === 'function' ) ? function ( bidResponse ) { return value ( bidResponse ) ; } : function ( bidResponse ) { return getValue ( bidResponse , value ) ; } } ; }
factory for key value objs
factory for key value objs