Found Droids vs "These are not the Droids..."

Hello all, I’m trying to print a certain result after iterating through an array based on a boolean value. When I have tried to do it in a more simpler fashion, the result would repeat as long as the array.

function droids(arr) {
  let result = '';
  // ADD CODE HERE
  for (let i = 0; i < arr.length; i++) {
    if (i != "Droids") {
      i++
    } else if (i === "Droids") {
    result += "Found Droids"
    return result
  	}
  }
  if (result != "Found Droids") {
    result += "These are not the droids you're looking for"
    return result
  }
}

// Uncomment these to check your work! 
const starWars = ["Luke", "Finn", "Rey", "Kylo", "Droids"] 
const thrones = ["Jon", "Danny", "Tyrion", "The Mountain", "Cersei"] 

what should the output be? please explain more about what’s the expected output, and what issue you are having

one thing I can say is that the first comparison is always true, the second always false, because i will always be a number

im sorry, if “Droids” is in the array, then result should equal “Found Droids.” if not, then result should be set to and returned as “These are not the droids you are looking for.” I am unaware of how to do this without setting and adding result during every iteration.

have you checked what I said above about i?

i see what i did wrong… Thank you!

an other thing to notice is that if you increase iin the loop you are jumping over array elements, not checking them all