function get(object, key) {
  if (object) {
    var _value = object[key];
    if (typeof _value === 'function') {
      for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
        args[_key - 2] = arguments[_key];
      }

      return _value.apply(undefined, args);
    } else {
      return _value;
    }
  }
}
This simple property getter assumes that properties will never be functions
and so attempts to run those functions using the given args.

@private