"Check if a letter is a vowel" - Function returning false?
<p>Exercise: Write a function that takes a character (i.e. a string of length 1) and returns true if it is a vowel, false otherwise.</p>

<p>My Code:</p>

<pre><code>var findVowel = function(letter) {

var vowels = ["a", "e", "i", "o", "u"];

for(var i in vowels){

    if(letter === i){
        return true;
    } else {
        return false;
    }
}

};

findVowel("e");
</code></pre>

<p>I've researched high and low and to me the code looks as if it should but it returns false despite if a vowel is given or not.</p>
