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, 22.06.2019 11:00
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
question
Computers and Technology, 22.06.2019 14:20
Consider a byte-addressable computer with 16mb of main memory, a cache capable of storing a total of 64kb of data and block size of 32 bytes. (a) how many bits in the memory address? (b) how many blocks are in the cache? (c) specify the format of the memory address, including names and sizes, when the cache is: 1. direct-mapped 2. 4-way set associative 3. fully associative
Answers: 2
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
Which of the following processes applications across multiple computing devices? a. functional application b. distributed system c. workgroup information silo d. information silo
Answers: 3
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
History, 14.12.2020 23:20
question
Mathematics, 14.12.2020 23:20
question
Mathematics, 14.12.2020 23:20
question
Mathematics, 14.12.2020 23:20
Questions on the website: 13722367