function getMap(options) {
  var obj = options.map;
  var keys = options.keys;
  var l = keys.length;

  for (var i = 0; i < l; i++) {
    var key = keys[i];

    if (plainObject(key)) {
      throw Error('Tried to get map with object key');
    }

    obj = obj[key];

    if (obj == null) {
      return obj;
    }
  }

  return obj;
}
function getMap(options) {
  var obj = options.map;
  var keys = options.keys;
  var l = keys.length;

  for (var i = 0; i < l; i++) {
    var key = keys[i];

    if (plainObject(key)) {
      throw Error('Tried to get map with object key');
    }

    obj = obj[key];

    if (obj == null) {
      return obj;
    }
  }

  return obj;
}
function getMap ( options ) { var obj = options . map ; var keys = options . keys ; var l = keys . length ; for ( var i = 0 ; i < l ; i ++ ) { var key = keys [ i ] ; if ( plainObject ( key ) ) { throw Error ( 'Tried to get map with object key' ) ; } obj = obj [ key ] ; if ( obj == null ) { return obj ; } } return obj ; }
gets the value in a map even if it's not built in places
gets the value in a map even if it s not built in places
Get the map from the options