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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 02:30, reyne36
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
image
Computers and Technology, 23.06.2019 15:00, ryleerose255
Idon’t understand the double8 coding problem. it is java
Answers: 1
image
Computers and Technology, 24.06.2019 09:00, king514
Technician a says that a new replacement part is always good. technician b says that sometimes recent repair work will be the cause of a complaint. who is correct? a. both technicians a and b b. technician a c. technician b d. neither technician a nor b
Answers: 3
image
Computers and Technology, 24.06.2019 12:30, hilario4785
Why does the pc send out a broadcast arp prior to sending the first ping request
Answers: 1
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 in other subjects:

Konu
Mathematics, 27.10.2020 19:40
Konu
Mathematics, 27.10.2020 19:40