I know a similar question has been asked here: Finding the max value of an attribute in an array of objects, but with that method there is no way to return the entire object con
function getMaxByVal(objArr){ var max=objArr[0]["value"]; var indexStore=0; var i=0; for(len=objArr.length; i