nailove1078 nailove1078
  • 03-04-2024
  • Computers and Technology
contestada

If (choice === 'Y' || choice === 'y') {
// do something
}

Simplified statement:
if (choice. toUpperCase() === 'Y') {
// do something
}

Respuesta :

Otras preguntas

give two reasons why quarrying is bad for the environment?
in the sentence 'seems, madam nay, it is; i know not seems" (10), hamlet intends to express
true of false - Whom is used correctly in this sentence Whom should I vote for?
how do you find out how much a percentage is in a real number,like someone told me 15% equals 9,how do you find out?
What is the value of the function when x = –1? A. –5 B. 2 C. –1 D. 3
Which word has a root meaning associated with a fur-bearing animal? A.apiary B.aviary C.ursine D.piscine
What is the value of the function y=2x-3 when x = –1? WILL UP VOTE FOR ALL FIVE QUESTIONS A. –5 B. 2 C. –1 D. 3
Greenhouse gases are added to the atmosphere through a. forest fires. c. radiation. b. photosynthesis. d. absorption.
Choose the correct answer. Except for Australia and Antarctica, every _________________ includes m any countries. A) province B) continent C) culture D
to solve the equation below by completing the square what is the first step? 4x^2+16x=20 A. add 8 to each side of the equation. B. add 64 to each side of the e