function droids(arr) {
let result = 'These are not the droids you\'re looking for';
for(let i=0; i<arr.length;i++) {
if (arr[i] === 'Droids') {
result = 'Found Droid';
}
}
return result;
}
const starWars = ["Luke", "Finn", "Rey", "Kylo", "Droids"]
const thrones = ["Jon", "Danny", "Tyrion", "The Mountain", "Cersei"]
console.log(droids(starWars))
console.log(droids(thrones))
console.log(starWars.includes('Droids') ? 'Droid Found' : 'These are not the droids you\'re looking for');
console.log(thrones.includes('Droids') ? 'Droid Found' : 'These are not the droids you\'re looking for');