my script is getting some array from php server side script.
result = jQuery.parseJSON(result);
now I want to check each variable of the array.
You can use the .forEach() method of JavaScript for looping through JSON.
var datesBooking = [ {"date": "04\/24\/2018"}, {"date": "04\/25\/2018"} ]; datesBooking.forEach(function(data, index) { console.log(data); });