var new_data = $.parseJSON(data);
for (var j = 0; j < new_data.all_soa_details.length; j++) {
var td7_contact = new_data.all_soa_details[j].bal; //100,200,200,50 . here i need to fecth 50 only
let td77_contact = Math.abs(td7_contact);
}
i am getting values 100, 200,40,60, 50.. Here i need to fetch 50 becoz its last valuje in the for loop .How to get this last value?

td7_contactisn't an array, why are you trying to iterate over it?datalooks like? What is the value of the.balproperty?td7_contactcontains the last value.