subject

This function checks if a character is a vowel. If it is, it returns true. Otherwise, it returns false. Where should return false; be written in the code?

function checkVowel(character){
var vowels = ["a", "e", "i", "o", "u"];
for(var i=0; i if(vowels[i] == character){
return true;
OPTION A
}
OPTION B
}
OPTION C
}
OPTION D

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
What computer network component allows data transfers from one computer to another through a telephone line?
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print
Answers: 3
question
Computers and Technology, 22.06.2019 21:30
The graph shows median weekly earnings for full-time workers according to education level. which can you not conclude?
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
You know the right answer?
This function checks if a character is a vowel. If it is, it returns true. Otherwise, it returns fal...
Questions
question
Social Studies, 11.11.2019 08:31
question
Mathematics, 11.11.2019 08:31
question
Mathematics, 11.11.2019 08:31
question
Computers and Technology, 11.11.2019 08:31
question
History, 11.11.2019 08:31
question
English, 11.11.2019 08:31
question
Mathematics, 11.11.2019 08:31
Questions on the website: 13722359