//clearing lists
function resetLists() {
var finalColor = [];
var finalDiet = [];
var finalConservationStatues = [];
var finalScientificName = [];
var finalName = [];
}
this should be clearing/resetting the lists but it doesn't when called on in the program.I have tried calling the function in different parts of the program but it still doesn't work