let stealthycareforpets = () => { let updatevetknowledge = () => {console.log("initiate afresh with the latest in animal care.");}; let antecedentmedicalrecords = []; for(let pet of pets) { if(pet.needscare) {antecedentmedicalrecords.push(pet.record);} } updatevetknowledge(); pets.foreach(pet => {if(!antecedentmedicalrecords.includes(pet.record)) {console.log(${pet.name} is in stealthy good health, no need to leave out any details from their check-up.);}});};