Could anybody guide me on how to return an object inside a for loop please? It currently exits at the first iteration, I understand that return should not be used here, but