I am creating the following array from data attributes and I need to be able to grab the highest and lowest value from it so I can pass it to another function later on.
arr = [9,4,2,93,6,2,4,61,1]; ArrMax = Math.max.apply(Math, arr);