code: function(items, propertyName) {
          if(!items) return false;
  
          var maxProperty;
          for(var i = 0; i < items.length; i++) {
              if(maxProperty == undefined)
                  maxProperty = items[i][propertyName];
              else if(items[i][propertyName] > maxProperty)
                  maxProperty = items[i][propertyName];
          }
          return maxProperty;
      }
docs: Method returning max value of specific array's property