I am having this data
var initialData = [
{ name: "Sweets", details: 352 },
{ name: "Spicy", details: "89 juwu jdbjd jd bdjh djh sdjh sjh sdhj sjh sjh shjdsjhsdhjsdhjshjdyrrrrrrrrrrrrrrrrrrr" },
{ name: "Salty", details: 23 }
];
Have to find the maximum length of 'details' field and get the output as 70(suppose length of details for name:'spicy') i.e maximum value .Need Solutions/Suggestions . Thanxs in advance .