The ThoughtAsylum library includes a set of extensions to the standard Array object. These are used to simplify common actions in terms of interrogating and updating arrays.
Return the length of the longest element in an array.
// Example alert(["red", "green", "blue"].TA_maxElementLength()); // Displays 5 as 'green' is the longest string in the array and is 5 characters long
Array (Native)
The ThoughtAsylum library includes a set of extensions to the standard Array object. These are used to simplify common actions in terms of interrogating and updating arrays.