function result( obj, key, defaultVal = null ) {
  if ( typeof obj !== "object" ) {
    return defaultVal;
  }
  return ( key in obj && typeof obj[ key ] !== "undefined" ) ? obj[ key ] : defaultVal;
}
Underscore: return object prop value or a given default one if not defined
@param {Object} obj
@param {String} key
@param {*} defaultVal
@returns {*}