Hello, I have a code where I am looking for a list of dates.
for(var i = 0; i < data.list.length; i++){
if(Date.parse(data.list[i].date) >= dateA){
console.log(data.list[i].date)
}
}
I would like to know if there is a possibility to return only the last date of the array.